showFileSaveDialog

I use the following method to show a save dialog with a suggested filename. This works fine

var save = application.showFileSaveDialog(bestandspad)

but how can I detect that someone hits the cancel button?

another question:
with the option: application.showFileOpenDialog

is there a function I can detect the filesize??

I posted a request for this but when you leave the filename empty, pushing the cancel button will give you back an empty filename.

BTW this also gives you a dialog twice (at leat under OS X)…

I posted a request for this but when you leave the filename empty, pushing the cancel button will give you back an empty filename.

BTW this also gives you a dialog twice (at leat under OS X)…

Cancel will return null now (build after RC10)

IT2BE: when do you get a dialog twice?
If you give it an suggested filename?