- Foreword
- Basics
- Interface
- Menu
- File
- Import
- Edit
- View
- Options
- Options
- Tools
- Help
- Windows & Dialogs
- Controls
- Standard
- Additional
- Win32
-
- Property Editors
- Appendices
Tools → Update Script updates GUI code in a .au3 file to that in the currently active form.
This menu item is only enabled if:
#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:
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