• 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: compare file icons or icon properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compare file icons or icon properties


  • Subject: Re: compare file icons or icon properties
  • From: Philip Aker <email@hidden>
  • Date: Tue, 3 Feb 2009 23:32:01 -0800

On 2009-02-03, at 23:10:51, Pooja wrote:

I am monitoring a file and when expected event occurs the icon image of file gets changed.
I want to note the point in time when that event occurs. For that i want to use this icon image change as trigger. Is there anyway I can way i can compare icons of two files.
I did lot of research on web but could not find the expected solution. I could see find how to get/set icon of a file but could not find the way to compare the icons or any of their properties by which they can be distinguished.

The only way I can think to do this would be to use some a third party tool which reported icon info. But I don't know of any offhand. Here: <http://www.vcn.bc.ca/~philip/#IcnsRsrc2File >, is a tool which can extract custom file icons to a .icns file. You could then do a comparison of the file size and/or raw bytes (ugh) -- that will only tell you if they are different. There isn't usually any data other than the raw bytes and container bounds stored in icons (see IconStorage.h and Icons.r for the format).


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: compare file icons or icon properties
      • From: david <email@hidden>
    • Re: compare file icons or icon properties
      • From: Roy McCoy <email@hidden>
References: 
 >compare file icons or icon properties (From: Pooja <email@hidden>)

  • Prev by Date: compare file icons or icon properties
  • Next by Date: Re: Value of an empty cell in Numbers
  • Previous by thread: compare file icons or icon properties
  • Next by thread: Re: compare file icons or icon properties
  • Index(es):
    • Date
    • Thread