• 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
Re: <<data icns>>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: How many files could a Finder find if a Finder could find files?
  • Next by Date: Re: How many files could a Finder find if a Finder could find files?
  • Previous by thread: <<data icns>>
  • Next by thread: How many files could a Finder find if a Finder could find files?
  • Index(es):
    • Date
    • Thread