Jump to content
Server Maintenance This Week. ×

Troi File - prompt user to save to specific folder


AnneES

This topic is 7871 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This topic is 7871 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.