• 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: keystroke "I" using control down / command down
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keystroke "I" using control down / command down


  • Subject: Re: keystroke "I" using control down / command down
  • From: Rob Jorgensen <email@hidden>
  • Date: Sun, 15 Feb 2004 12:15:04 -0500

At 9:48 AM -0700 2/15/04, Robert Poland wrote:
tell application "GraphicConverter"
activate
show tools of window 1 -- need GC 4.4.1b or later
end tell

tell application "System Events"
tell process "GraphicConverter"
keystroke "I" with {control down, command down} -- show information
keystroke "K" with command down -- show toolbox
keystroke "R" with {control down, command down} -- show overview
keystroke "D" with {command down} -- show detail
end tell
end tell

-- Rob

I should have mentioned that I'm using OS 10.3.2.

"with" creates errors, however switching to "using" begins to work. Contrary to GraphicConvertor", the commands need a lower case "i" and a lower case "k". Now if can figure out how to test for existing windows.

Regarding lower/upper case...

keystroke "D" -- and
keystroke "d" using {shift down}

...should produce the same result.

I wonder why the dictionary says "using control down / shift down" when they mean "using control down, shift down"?

The dictionary is simply providing the options and not the syntax.

-- Rob
_______________________________________________
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: 
 >keystroke "I" using control down / command down (From: Robert Poland <email@hidden>)
 >Re: keystroke "I" using control down / command down (From: Rob Jorgensen <email@hidden>)
 >Re: keystroke "I" using control down / command down (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: keystroke "I" using control down / command down
  • Next by Date: Windows of hidden Applications
  • Previous by thread: Re: keystroke "I" using control down / command down
  • Next by thread: Re: keystroke "I" using control down / command down
  • Index(es):
    • Date
    • Thread