pww
02-06-2009, 05:03 PM
just wasted several hours to find & fix a script bug in an installer.
I think SF needs a better script editor.
There should be one central place which gives access to all the script code available at different places in a project - On Startup, On Pre/Post Install, global functions, code associated with screens and controls on screens etc.
Something like a tree view where one can select any element that contains script code, and view/edit the code in a multi-tabbed editor.
It's really annoying and time wasting that all the windows where the code is to be edited are modal.
While I edit the code for a screen button for example, I have no access to anything else. If say I want to check something in the On Startup script when I do that, I have to close the Screen Properties window, close the Screens window, open On Startup, check, close On Startup, open again Screens, select a screen .. etc.. etc .. etc.. - it takes some 20-30 useless clicks to do something simple.
There must be a project-wide find/replace in code.
Now I regularly use UltraEdit to make changes directly in the project file, which I would prefer not to do.
I think SF needs a better script editor.
There should be one central place which gives access to all the script code available at different places in a project - On Startup, On Pre/Post Install, global functions, code associated with screens and controls on screens etc.
Something like a tree view where one can select any element that contains script code, and view/edit the code in a multi-tabbed editor.
It's really annoying and time wasting that all the windows where the code is to be edited are modal.
While I edit the code for a screen button for example, I have no access to anything else. If say I want to check something in the On Startup script when I do that, I have to close the Screen Properties window, close the Screens window, open On Startup, check, close On Startup, open again Screens, select a screen .. etc.. etc .. etc.. - it takes some 20-30 useless clicks to do something simple.
There must be a project-wide find/replace in code.
Now I regularly use UltraEdit to make changes directly in the project file, which I would prefer not to do.