Re: <<data icns>>
Re: <<data icns>>
- Subject: Re: <<data icns>>
- From: jj <email@hidden>
- Date: Wed, 17 Mar 2004 21:48:01 +0100
>
DragThing has a property that represents an icon. The data type for
>
this property is a <<data icns>>. I'm trying to read the contents of
>
an icns file on disk and set the property.
[snip]
>
I want to use a variable that contains the data but not evaluate it.
>
Is there a way?
>
>
-peter
#############################################
set icnsFile to alias ((path to applications folder as text) &
"Safari.app:Contents:Resources:compass.icns")
set icnsData to read icnsFile as +class icns;
#############################################
jj
--
http://www.macscripter.net/
http://www.osaxen.com/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.