Code: Select all
ask file "Please choose where you want to save the file..."
if the result is not "Cancel" then
put it into fileLocation
end if
put outputData into url("file:" &fileLocation)

Thanks!
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
ask file "Please choose where you want to save the file..."
if the result is not "Cancel" then
put it into fileLocation
end if
put outputData into url("file:" &fileLocation)
Code: Select all
ask file "Export picture as:" with filter "Image file, *.jpg; *.gif"
Code: Select all
ask file "Export picture as:" with filter "Jpeg image, *.jpg, Gif image,*.gif"
In that case it does not make sense at all to let the user select a filetype, right?smith8867 wrote:The program will always output a text file, at least that is the idea.