Re: can't make option down into a real
Re: can't make option down into a real
- Subject: Re: can't make option down into a real
- From: John Stewart <email@hidden>
- Date: Sun, 11 Apr 2004 15:10:54 -0400
On 04/11/04 at -0600 Robert Poland said this
>
Hi,
>
>
When I run the following (or many variations of it) I get an error
>
"Can't make option down into a real."
>
>
tell application "System Events"
>
tell process "System Preferences"
>
run
>
set frontmost to true
>
delay 2
>
keystroke "h" using option down / command down -- hide others
>
display dialog "should stop here"
>
end tell
>
end tell
>
>
Tia,
You are trying to divide option down by command down. Try the following -
tell application "System Preferences" to activate
tell application "System Events"
tell process "System Preferences"
keystroke "h" using {option down, command down} -- hide others
display dialog "should stop here"
end tell
end tell
JBS
--
I couldn't repair your brakes, so I made your horn louder.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.