• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
<<data icns>>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

<<data icns>>


  • Subject: <<data icns>>
  • From: Peter Boctor <email@hidden>
  • Date: Wed, 17 Mar 2004 09:39:24 -0800

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.

I can read the hex contents of the icns file into an AppleScript variable as text but how do I end up with a variable that contains a <<data icns>> ?

In all the examples I've seen of <<data either the script explicitly contains the data without any variables:
<<data utxt20AC>>

or uses do script/run script to evaluate the data:
set temp to "<<data utxt20AC>>"
run script temp -- evaluates the data and returns the result

I want to use a variable that contains the data but not evaluate it. Is there a way?

-peter
_______________________________________________
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.


  • Prev by Date: do shell script & Unicode
  • Next by Date: Re: do shell script "perl... " to find/replace in a string
  • Previous by thread: do shell script & Unicode
  • Next by thread: Re: <<data icns>>
  • Index(es):
    • Date
    • Thread