• 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: AppleScript-Users Digest, Vol 5, Issue 335
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript-Users Digest, Vol 5, Issue 335


  • Subject: Re: AppleScript-Users Digest, Vol 5, Issue 335
  • From: "Jonathan Levi, M.D." <email@hidden>
  • Date: Sat, 31 May 2008 16:02:49 -0400

At Sat, 31 May 2008 09:43:00 -0500, Peter Bunn <email@hidden> wrote:
Jonathan Levi wrote:

How can I script the Finder to select a file's icon in the General
Information Panel of the Information Window? Here's what I've done so far:

It appears as if you're 'overthinking' this...

Might the following work?

Peter B.

-----

set this_item to choose file without invisibles

tell application "Finder"
	activate

	open the information window of item this_item

	tell application "System Events"
		tell process "Finder"
			keystroke tab
		end tell
	end tell

end tell

Seems to work -- many thanks. Jonathan _______________________________________________ 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
  • Prev by Date: Re: Recurring Scripting forbidden in Leopard ?
  • Next by Date: Re: Recurring Scripting forbidden in Leopard ?
  • Previous by thread: Re: Scripting Finder's Information Window
  • Index(es):
    • Date
    • Thread