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

William de Smet williamdesmet at gmail.com
Sun Jan 9 10:41:32 EST 2011


Thanks Colin but that's not what I meant. I know you can do this but I want LC to do it :-). PhotoBooth is just my example but it needs to be any app.
Anyone else?

Greetings,

William



-----
Verstuurd vanaf mijn iPhone!

Op 9 jan. 2011 om 16:30 heeft Colin Holgate <coiin at verizon.net> het volgende geschreven:

> 
> 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.
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list