• 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: can't make option down into a real
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >can't make option down into a real (From: Robert Poland <email@hidden>)

  • Prev by Date: thanks for system attribute has info
  • Next by Date: Re: problem with a mail.app script
  • Previous by thread: Re: can't make option down into a real
  • Next by thread: Re: can't make option down into a real
  • Index(es):
    • Date
    • Thread