• 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: Image Events and Preview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Image Events and Preview


  • Subject: Re: Image Events and Preview
  • From: Axel Luttgens <email@hidden>
  • Date: Sat, 13 Feb 2010 20:16:43 +0100

Le 13 févr. 2010 à 17:58:36, Rob Lewis a écrit :

> I have a script that creates JPEGs. I wanted to display them to the user in Preview, but discovered that Preview isn't scriptable(!)
>
> On a lark, I tried telling Image Events to open the files. It works, but…the files actually open in Preview!

Hello Rob,

Do you mean that something along these lines:

	tell application "Image Events"
		tell (open file "screen.png" of desktop folder)
			properties
			metadata tags
			profiles
		end tell
	end tell

opens the file in Preview instead of providing you with various infos about the image?

Axel


 _______________________________________________
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

References: 
 >Image Events and Preview (From: Rob Lewis <email@hidden>)

  • Prev by Date: Script don't run from script menu under 10.6.2
  • Next by Date: Re: Image Events and Preview
  • Previous by thread: Re: Image Events and Preview
  • Next by thread: Script don't run from script menu under 10.6.2
  • Index(es):
    • Date
    • Thread