showfilesavedialog() not working

I am trying to save a blob field as a file and am having trouble with the showFileSaveDialog.

I wanted to show a dialog with a default path and filename based on my record name, but i cant get further than opening the dialog box with a test file.

var vFile = application.showFileSaveDialog('/Test/test123.pdf')

It has no problem bringing up the dialog and going to the ‘/Test’ folder in this case, but it leaves the filename blank and i dont seem to find a way of it populating the suggested filename.

Is my syntax wrong? I am on OS X 10.4.8

David

Hi David

From memory this is a Mac/Java ‘feature’ - has been previous Forum chat on why Windows ‘remembers’ file name but OSX fails.

Regards

Graham

Thanks graham,

at least i know it will work for windows users, which is unfortunately the sad misguided majority!

David

dpearce:
Thanks graham,

at least i know it will work for windows users, which is unfortunately the sad misguided majority!

David

It also works under OS X, if you choose a different LAF such as QuaQua.

I have the impression that Apple “likes” this bug :-) It has been there for ages…

Well i never,

thanks ric. it works fine now with another l and f

David