Re: Set the Finder icon of a stack?
On 3/1/13 6:39 PM, Paul Hibbert wrote: Some quotes from the dictionary… icon Type: property Syntax: set the icon to {imageID | imageName} Platforms: Desktop, Server, Web and Mobile Summary: Specifies an image that is displayed in a button, or used as the desktop icon of a stack file or application. Examples: set the icon of this stack to kStackIcon set the icon to the myAppIcon of stack Main Settings Use the icon property to change a button's appearance, or to set the icon used for a stack or application in the OS X dock. Sadly none of this works for setting a stack icon as I would expect and I can't find a bug report on the RR QC pages, so if I'm not missing the point or doing something completely stupid I'll post it as a bug. It works, but as it says, it only sets the dock icon. It isn't intended to change the icon of the application itself. To do that, you need to replace the icns file inside the app bundle, and then use the shell touch command to update the Finder database. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Set the Finder icon of a stack?
Thank you for your reply Jacque. I spent some more time playing with this and eventually realised it only affects the Dock Icon. I think the dictionary is a little misleading, the summary states; or used as the desktop icon of a stack file or application, so I read desktop icon = finder icon, sadly not, desktop icon = dock icon only. Seems odd that something that is so easy to do in the Finder is such a pain to do by script. Paul On 2013-03-02, at 3:33 PM, J. Landman Gay wrote: On 3/1/13 6:39 PM, Paul Hibbert wrote: Some quotes from the dictionary… icon Type: property Syntax: set the icon to {imageID | imageName} Platforms: Desktop, Server, Web and Mobile Summary: Specifies an image that is displayed in a button, or used as the desktop icon of a stack file or application. Examples: set the icon of this stack to kStackIcon set the icon to the myAppIcon of stack Main Settings Use the icon property to change a button's appearance, or to set the icon used for a stack or application in the OS X dock. Sadly none of this works for setting a stack icon as I would expect and I can't find a bug report on the RR QC pages, so if I'm not missing the point or doing something completely stupid I'll post it as a bug. It works, but as it says, it only sets the dock icon. It isn't intended to change the icon of the application itself. To do that, you need to replace the icns file inside the app bundle, and then use the shell touch command to update the Finder database. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Set the Finder icon of a stack?
On 3/2/13 8:25 PM, Paul Hibbert wrote: I think the dictionary is a little misleading, the summary states; or used as the desktop icon of a stack file or application, so I read desktop icon = finder icon, sadly not, desktop icon = dock icon only. You're right, it is. You could add a user note in the dictionary and save future generations some hair. Or file the bug report as a documentation error. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode