Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Anyone have SM code to modify SelectFile so that a parameter can be be passed with a folder path, so that the file dialog opens that folder rather than whatever the previous path was?

  • 4 weeks later...
Posted

Hi metroart

First you want to add an input variable. Call it startPath for instance, and set the value.

and you'll need to add the following line before the dialog.show() line:

dialog.setDirectory( startPath );

This topic is 5522 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.