TheQwerty wrote:What I mean is should the Try dialog in it's current incarnation be removed and replaced with an "Edit Script" dialog, which would include buttons to "Execute Script", "Load Script File", "Save Script File"? I feel Don will eventually take it there, but I wonder if this is something that should really be part of the introduction of scripting in 7.0.
I'm not sure this will happen/would be a such good idea. This is here to allow one to easily test/debug some scripts, but it you want to full edit mode, just work on a script file using your favorite text editor (with its full features like syntax color, search & replace, etc) and simply use a (temporary) UDC/Catalog item to trigger it.
I may be wrong here, but I don't really see the need for this...
TheQwerty wrote:Also to take this further, it would be interesting to extend this menu to include a Script File. Either have a "ScriptMenu.xys" file which will be used to display scripts in this menu, or make it a user option to select a file. Then the file would be used to dynamically generate part of this menu, in addition to this static content.
hmm.. may I ask why ?
We have UDC for such a thing, and I'd say that's enough. Plus, we can use label, there's no problem of refreshing, etc I'd say this menu should be a XY menu only, keep the User menu for user stuff
Since this was discussed here, question for Don :
Code: Select all
* Configuration | Advanced | Enable Scripting: Now,
if OFF then
- Scripting related controls in CKS and UDC are hidden
What does that mean ? Cause I expected my UDC Categories (submenus) Run Script & Load Script File to go away, yet they stayed there!

In fact, the menu Scripting may have disappeared from the menubar but it was still shown on CKS.
(Unrelated-PS: It's not just with Extended, turning "Enable scripting" OFF doesn't refresh Catalog items either and they are also still showing Script icons)
Edit: Oh and I think option "Enable Extended Script" should be on Config as well, under "Enable scripting"