Since on the Mac extensions are mainly for compatibility, maybe I should leave free the user not to use them and rely only on mime type and creator of the file?
When you sandbox an app for Mac, your app have to use the standard OS dialog box to save a file on the disk. In LiveCode you use: ask file "Please name the file:" In this way the OS let you create the file in the location user chosen with the name chosen by the user, e.g /HD/Data Stacks/filedata.rev...
I'm having some difficulties to handle the close box button on Mac app, I would like it does the same as when user uses the Command-W menu item but I can't find a reliable way. To date my trials was with the on closeStack message but this creates a cascading series of problems, you can imagine... Th...
I'm working on an app for Mac were the user can save a stack file on disk via the ask file dialog of LiveCode. ask file "Save This File As:" with the title of stack stackName & ".abc" as sheet -- in a sandboxed app you need that the save as dialog returns a path with the extension, you cannot add it...
I'm working in a Mac project where I need to stop iTunes playing. Currently I use this code: put field "StopiTunesScript" into tTheScript do tTheScript as applescript This is the content of the field: tell application "iTunes" if it is running then -- to avoid to open iTunes if it is not running sto...
When you deal with external file stacks you have a lot of new things to keep in count, for example you cannot open a file stack that has the same name of a stack you use in your project because they can conflict (another one is that you cannot open file stacks with a integer as name because can conf...
Unfortunately the menubars/group of buttons is in the main stack and I clone the main stack to have instances of the window in my app (each window is an open document).