Using several Base Folders
Posted 17 June 2001 - 09:34
how do I store such an input , and then use it to create these folders (use vbscripts's Scripting.FileSystemObject or maybe there's another way ?)
Posted 19 June 2001 - 21:06
You will need to create a Directory variable in the directory table example MYINSTALLDIR with a default value.
Then create a empty component with the installPath property MYINSTALLDIR then insert these values into the CreateFolder table in the PowerEditor.
Example:
Property value: MYINSTALLDIR
Empty Compoent: My_Empty_Component
CreateFolder Table:
Directory_ (S72) Component_ (S72)
MYINSTALLDIR My_Empty_Component
Directory Table:
Directory_ (S72) Dir_Parent (S72) DefaultDir (S72)
MYINSTALLDIR INSTALLDIR Default
INSTALLDIR = C:\Program Files\CompanyName\
This will create a folder C:\Program Files\CompanyName\Default with no files in it, or whatever path you assign MYINSTALLDIR in the Dialog.
I hope this helps.
TDG
Posted 20 June 2001 - 12:49
I have an example how to store a a path in run time property ([_BrowseProperty] but it works for me only for 1 screen out of 3 - in the other the path seems to be scrambled -
perhaps because I use in the event of the Dialog that calls the change folder Dialog [MYINSTALLDIR] = INSTALLDIR (condition 1) -
but I wasn't able to insert any other folder instead of INSTALLDIR - how can it be done ?
Posted 20 June 2001 - 16:47
TDG