October 22, 200223 yr I am using the Troi File Plug in. I want my users to make a copy of a file and save it to a default folder. I note that both the GetFileSpecDialog and the SelectFolderDialog allow for a default (or initial) folder to be displayed in the dialog box. How can I get the SaveFileSpec to start from a default initial folder? Is there a way of using the SelectFolderDialog in conjunction with the SaveFileSpec to achieve this? Hope this isn
October 22, 200223 yr Use the TrFile-SelectFolderDialog to set a text global, gFolderPath. Use this global to specify the initial Folder in the TrFile-Save FileSpec Dialog. I believe either a path or FileSpec will work when setting this default folder. If not, the TrFile-FullPath to FileSpec function will convert the folder path to a FileSpec. You really have to spend some time CAREFULLY reading the Troi File manual. It' all there, but it can be a little complex to establish the exact format and sequence of commands to use. -bd
October 22, 200223 yr Author I have the gFolderPath set. For the save file dialog I have: Set Field [FileDest, External(TrFile-Save FileSpec Dialog
Create an account or sign in to comment