Dave Graham Posted November 24, 2010 Posted November 24, 2010 I have showSaveDialog enabled. When using the filename flag, I can set the file name but the file extension is getting stripped and I have to type it in manually for every file I save; a big PITA! The documentation says to "be sure to include your file extension", which I have. Help! - dg
Smef Posted November 29, 2010 Posted November 29, 2010 You must specify the file extension for the filename, which is why we have the "be sure to include your file extension" in there. If you want to save the file as "myphoto.jpg" then the filename parameter must be "myphoto.jpg" and not "myphoto" without an extension.
Dave Graham Posted November 29, 2010 Author Posted November 29, 2010 I am specifying the file name with the file extension, but it's stripping it in the save dialog. Maybe it works if I'm saving the file directly, but it doesn't work when the show save dialog is used. I want the user to decide where to save the file, but they shouldn't have to type in the file extension for every saved file. - dg
Smef Posted November 29, 2010 Posted November 29, 2010 Can you post your script? You should be using SCChooseFile to have your user select a directory, and then use SCDownload to specify the path selected by SCChooseFile, with "filename=myfilename.ext" as one of your key parameters.
Recommended Posts
This topic is 5106 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 accountSign in
Already have an account? Sign in here.
Sign In Now