• 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
downloaded images and "Image Events"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

downloaded images and "Image Events"


  • Subject: downloaded images and "Image Events"
  • From: "David A. Cox" <email@hidden>
  • Date: Mon, 6 Feb 2006 12:38:49 -0800

I am looking to do some work with favicons (from the web) in a script. I seem to be able to grab a favicon with a simple script like:

set favicon to do shell script "curl http://www.apple.com/ favicon.ico" as TIFF picture


And I can do something simple like:

tell application "iChat"
	set image to favicon
end tell


But I get a type error every time I try to do something like scale the image, or even save it as a new file using Image Events. A failing example:


tell application "Image Events"
	scale favicon by factor 2
end tell

Does anyone have any advice on how to make the downloaded image more useful?

Thanks,

DAC
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: downloaded images and "Image Events"
      • From: Gnarlodious <email@hidden>
    • Re: downloaded images and "Image Events"
      • From: Michelle Steiner <email@hidden>
References: 
 >download and convert favicons (From: "David A. Cox" <email@hidden>)

  • Prev by Date: Posix path error in folder action script
  • Next by Date: Re: Various Qs about Intel and AppleScript
  • Previous by thread: Re: download and convert favicons
  • Next by thread: Re: downloaded images and "Image Events"
  • Index(es):
    • Date
    • Thread