• 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
scripting Get Info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scripting Get Info


  • Subject: scripting Get Info
  • From: Robert Poland <email@hidden>
  • Date: Sat, 13 Aug 2005 08:16:18 -0600

hi,

OS 10.4.2. I'm trying to script the Get Info window. Script so far;

set myFile to "iMac HD:Users:rpoland:Desktop:Picture 1.jpg" as alias

tell application "Finder"
open information window of myFile
tell application "System Events"
tell checkbox "Stationery Pad" of scroll area 1 of window "Picture 1 Info"
click
end tell
end tell
delay 2
close information window 1
end tell
The tell checkbox line gives me the, highly informative error, "System Events got an error:
NSReceiverEvaluationScriptError: 4".


I'm sure I'm missing some very simple element, any clues?

Tia,
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
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: scripting Get Info
      • From: "Gary (Lists)" <email@hidden>
  • Prev by Date: Re: Vote!
  • Next by Date: Re: scripting Get Info
  • Previous by thread: Re: Vote!
  • Next by thread: Re: scripting Get Info
  • Index(es):
    • Date
    • Thread