PDA

View Full Version : Reference in Script action


trailway
09-09-2009, 07:25 AM
Is there some way to do something like:

<reference object="Scripting.FileSystemObject" />

within a script action?

The thing that I want to do is to use constants like IOMode.ForReading without having to define them myself.

Thanks.

kinook
09-09-2009, 10:24 AM
No, but we'll consider providing some way to achieve that in the future.

kinook
03-11-2010, 10:10 AM
This is implemented in v7.5 (add Scripting.FileSystemObject to Tools | Application Options | Advanced | Type libraries to load for script).
http://www.kinook.com/Forum/showthread.php?threadid=4415
http://www.kinook.com/VisBuildPro/Manual/advopt.htm