Warning: Declaration of action_plugin_keyboard::register(&$contr) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/keyboard/action.php on line 21

Warning: Declaration of action_plugin_columns::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/columns/action.php on line 0

Warning: Declaration of action_plugin_translation::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/translation/action.php on line 0

Warning: Cannot modify header information - headers already sent by (output started at /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/keyboard/action.php:21) in /var/www/u0407502/koda.darkhost.ru/wiki/inc/auth.php on line 542

Warning: Cannot modify header information - headers already sent by (output started at /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/keyboard/action.php:21) in /var/www/u0407502/koda.darkhost.ru/wiki/inc/actions.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/keyboard/action.php:21) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/tpl/dokuwiki/main.php on line 12
Update Script [Koda]

User Tools

Site Tools


Sidebar

<< Back


koda:en:documentation:tools_update_script

Warning: Declaration of syntax_plugin_keyboard::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/keyboard/syntax.php on line 19

Warning: Declaration of syntax_plugin_keyboard::render($mode, &$renderer, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /var/www/u0407502/koda.darkhost.ru/wiki/lib/plugins/keyboard/syntax.php on line 19

Update Script

Tools → Update Script updates GUI code in a .au3 file to that in the currently active form.

This menu item is only enabled if:

  • the .au3 file exists and is in the same directory as the .kxf file
  • the GUI definition section of the .au3 file is in this format:
#Region ### START Koda GUI section ### Form=example.kxf
$Form1 = GUICreate( ...)
 .
 .
 .
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

where example.kxf is the currently active form.

Koda is capable of updating any of the GUI definition sections in a .au3 file.

When Koda generates code, it does so in this format. So to begin using the Update Script feature:

  1. Create your form
  2. Save it (to a .kxf file)
  3. Do Tools → Generate Form Code (or press F9)
  4. Choose Save to file, click on it, name the .au3 file and click on Save

To place several GUI definitions in the same .au3 file, rather than doing step 4, copy the GUI definition to the Clipboard and paste it into the .au3 file using SciTe. Then, whenever the currently active form is the visual representation of one of the .kxf files, Update Script will be enabled.

The keyboard shortcut for this function is Ctrl+U

koda/en/documentation/tools_update_script.txt · Last modified: 2014/07/10 10:48 (external edit)