scripting Get Info
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