November 24, 201015 yr 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
November 29, 201015 yr 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.
November 29, 201015 yr Author 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
November 29, 201015 yr 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.
Create an account or sign in to comment