How do I set the icon from an OSX app to a button?

Colin Holgate coiin at verizon.net
Sun Jan 9 10:30:37 EST 2011


On Jan 9, 2011, at 10:11 AM, William de Smet wrote:

> How do I get the icon from PhotoBooth into my Button?
> Any idea's are welcome.


I don't know about Windows, but on OSX you can do this:

Get Info on Photo Booth, click on the icon, and do a Copy.

Open Preview, and do New from Clipboard.

That will show you the various sizes, one of which is 32x32. Show that one, select into it (so that you're not selecting pages), and do a Select All, Copy.

In LC, do a paste. You can now set the icon of your button to that image, by choosing icon/image library/this stack in the Icon & Border properties.

One small issue is that if you delete the pasted graphic, the button's icon goes blank. That might mean that you have to keep the image stashed on a card somewhere.



More information about the use-livecode mailing list