PDA

View Full Version : Script Library question


howardtlcc
07-10-2009, 08:01 AM
If I add a function into the script library or global function, can I get the function to use type ahead in the script editor?

Howard

Ulrich
07-10-2009, 08:38 PM
Hello,

if by "type ahead" you mean the automatic completion of methods when you type a dot after the object name (for example), you must edit the script using the IRScriptEditor.exe that ships with Setup Factory 8.0. This tool is not part of SUF 7.0.

Ulrich

howardtlcc
07-10-2009, 09:10 PM
Is this the editor that comes up when you are viewing the script libraries and then click the Edit Scripts button? I do have the 8.0 trial. Thanks,

Howard

Ulrich
07-11-2009, 10:12 AM
I think I misunderstood your question. If you want to edit _SUF70_Global_Functions.lua and use the auto-completion while editing the file, you must use the IRScriptEditor.exe that is installed in the Setup Factory 8.0 folder. However, the inclusion of new functions in this global file will not make them available in the auto-completion mechanism. For this to happen, you would have to modify the XML files that make part of the Setup Factory installation, which I wouldn't recommend.
Ulrich