Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
scripting:tool [2014/02/09 01:50] – external edit 127.0.0.1scripting:tool [2018/01/10 20:36] (current) – external edit 127.0.0.1
Line 4: Line 4:
 If you have written tool script you can call it directly using //Tools->Execute// or you can plug it into UI same way as you do for [[tools:start|external tools]].  If you have written tool script you can call it directly using //Tools->Execute// or you can plug it into UI same way as you do for [[tools:start|external tools]]. 
  
-If plugging it as external tool, everything is strait forward:+If plugging it as an external tool, everything is straight forward:
   - In [[tools:manage|Manage Tools]] dialog you create new tool.   - In [[tools:manage|Manage Tools]] dialog you create new tool.
   - In tool properties select as command path to your tool script.    - In tool properties select as command path to your tool script. 
Line 10: Line 10:
   - Add arguments (not really needed, while script can access all variables with scripting, but implemented for convenience)   - Add arguments (not really needed, while script can access all variables with scripting, but implemented for convenience)
   - Assign shortcut, if you want one   - Assign shortcut, if you want one
-  - Catch Output is by default **On**because if you write in [[tools:output|Output]] with tool, it automatically caught by HippoEDIT+  - Catch Output is by default **On** because if you write in [[tools:output|Output]] with tool, it automatically caught by HippoEDIT
   - Select where you want to see your tool: in Tools menu, in Context menu, in Tools toolbar   - Select where you want to see your tool: in Tools menu, in Context menu, in Tools toolbar
   - Done.   - Done.
Line 41: Line 41:
 </code> </code>
  
-Which looks in the editor like this:+Which looks in the editor like this:\\
 {{:scripting:tool_script2.png|Tool Script and its output}} {{:scripting:tool_script2.png|Tool Script and its output}}