ExternalTools Plugin. Open notes files in external applications

ExternalTools plugin performs two functions:

  1. Allows open page text in the external applications.
  2. Adds (:exec:) wiki command which in "Preview mode" creates link or button for executing given applications. (Only for OutWiker 1.9.0.768 and above).

Below this functions will be descriped.


Download (version 1.4)
OutWiker version required: 1.8.0

Using

Открытие страниц во внешних редакторах

After installing the plugin you need to go out the window settings (menu "Edit - Preferences") and then in the section "External Tools [extension]" to add the programs you want to use in the future.

externaltools_options.png: 758x526, 30k (30.07.2012 19:25)

After that, the context menu that appears when you right-click on the article notes in a tree, there will be menu items "Open content file with...", and for HTML- and wikipage will also appear the menu item "Open result HTML file with...". As a submenu will list those applications that you added in the settings.

externaltools_1.png: 516x383, 43k (30.07.2012 19:24) externaltools_1.png: 516x383, 43k (30.07.2012 19:24)

Использование команды (:exec:)

For OutWiker 1.9 and above ExternalTools adds the (:exec:) command for creation link or button for execute external applications from wiki page.

(:exec:) command allow to run single or many applications. Every application must writed on the separated lines.

If line begins with "#" this line will be ignored. "#" in begin of the line is sign of the comment.

The (:exec:) command has the following optional parameters:

  • format. If the parameter equals "button" command will create a button instead of a link.
  • title. The parameter sets the text for link or button.

Inside (:exec:) command may be macroses. The macroses will be replaced by appropriate paths:

  • . The macros will be replaced by full path to page text file (to __page.text file).
  • . The macros will be replaced by full path to HTML content file (to __content.html file).
  • . The macros will be replaced by full path to page folder.
  • . The macros will be replaced by full path to attach folder without slash on the end.
Examples

Creating a link for running application.exe:

(:exec:)application.exe(:execend:)

Same but creating a button

(:exec format=button:)
application.exe
(:execend:)

Create a link for running application.exe with parameters:

(:exec:)
application.exe param1 "c:\myfolder\path to file name"
(:execend:)

Run a lot of applications:

(:exec text="Run application_1, application_2 and application_3":)
application_1.exe
application_2.exe param_1 param_2
application_3.exe param_1 param_2
(:execend:)

Open attached file with application.exe:

(:exec:)
application.exe Attach:my_file.txt
(:execend:)

Execute application.exe from attachments folder:

(:exec:)
%attach%/application.exe %attach%/my_file.txt
(:execend:)

or

(:exec:)
Attach:application.exe Attach:my_file.txt
(:execend:)

Version History

1.4 (September 24, 2017)

  • Added support Markdown pages.

1.3.3 (November 14, 2016)

  • Fixed GUI bugs.

1.3.2 (October 17, 2016)

  • Added OutWiker 2.0 supporting.

1.3.1 (August 20, 2016)

  • Added the Swedish translation.

1.3 (May 21, 2015)

  • Added the (:exec:) command for creation of a link or a button to execute application(s).
  • Bug fixes.

1.2.2 (January 20, 2015)

  • Minor interface improvements.
  • Cleanup code.

1.2.1 (September 11, 2014)

  • Updated the Italian localization.

1.0 (July 30, 2012)

  • The first version.

Вы можете подписаться на новости сайта через RSS, Группу Вконтакте или Канал в Telegram.
0 stars Пока еще нет оценок




Подписаться на комментарии
Автор:
Тема:
 Ваш комментарий
 
 
Введите код 672