So if your application has a single document, you can specify the 
type/extension and the documents icon in the Standalone settings (for OSX and 
Win), set up some code in your app to handle (on OSX and Win)
when someone double clicking on your app's icon to launch your app and pass it 
the clicked on document. All good.

What if your document has multiple document types? Easy enough to handle in 
code - check the command line parameters in Windows or appleevents under OSX 
for the different doc type and handle accordingly.

However, how do you package the icons for multiple document types when the 
standalone settings appear to only allow a single document icon?

I am not super OSX literate, but it appears I could just place additional icns 
files in the resource folder in the .app bundle and configure the standalone 
setting to use a customer pList that I edit
manual to add additional document entries under the 
<key>CFBundleDocumentTypes</key> <array> part of the XML plist. Is this the 
right approach?

Under Windows, I can use setRegistry() function to add registry entries for 
additional document types, but how do I get the icons for these packaged into 
the .exe file? Is there a way?


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to