|
Dialog: Customize / External Editor |
|
|
Menu Scripting >
Use external application as Docklight Script Editor
Check this option to disable the built-in script editor, and launch an external editor application for this purpose.
A flexible configuration syntax allows you to work with almost any editor that at least supports opening a file using a command line like myEditor.exe tempScriptFile.vbs
Application Control
This configuration file defines how Docklight Scripting controls the external editor.
Load preset for...
Predefined configuration files for three widely available editors.
TIP: We recommend the Notepad++ editor available at http://notepad-plus.sourceforge.net. The Windows Notepad example is just for illustrative purposes and explains how the configuration files work. You can use it as a starting point for integrating your own editor.
How to integrate your own favorite editor
You can set the application path at the beginning of the configuration file, using the path= syntax. Example line: path=C:\Program Files\Notepad++
All following lines of the configuration file have the following syntax: <Edit Action> <Application Control> open: notepad.exe "%FILE%"
<Edit Action> can be one of the following Docklight editing actions:
<Application Control> can be one of the following operations:
For each <Edit Action> you can define several command lines, e.g. goto: sendkeys +^{HOME}{DOWN %LINE%}+{UP} goto: activate
The following wildcards are available for <Application Control>
Remarks
The External Editor Support is a flexible and open solution to our users who are working with large script projects and would prefer to work with a full-featured editing package.
The application control interface offered described above gives you flexibility, but we are aware of the limitations of controlling third-party applications that are not really designed to be controlled from outside.
If you find a smart configuration file for your personal favorite editor, or you are experiencing problems with the above interface, our Customer Support would be happy to hear about it. |