I’m working pattrstorage
When I go to save the file in windows7,it shows JSON,XML and ALL.
is it possible to select JSON specificly without it showing ALL.
like any other application?
what i want to happen is for my application to only show JSON when opening and saving.
any help will be appreciated.
As far as I know the "all" option always shoes up in the save dialog.
you could use the "writejson" mesaage – than json is preselected or "writejson $1" and feeding the filename i.e from a [dialog] or [textedit].
Alternatively you could indicate the full path for writing your file including of course the ending, like json. if you adapt the storagemode of the pattrstorage you can have it very unintrusive, e.g. autosave it.
In mac osx openDialog works well. the application sees only json
without further selection.
this is not possible in windows.
as jan said the "all" option always shoes up in the save dialog.
thanks for all your help.