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

keystroke "I" using control down / command down


  • Subject: keystroke "I" using control down / command down
  • From: Robert Poland <email@hidden>
  • Date: Sat, 14 Feb 2004 21:53:02 -0700

Hi,

As usual I'm confused.

The script below fails many places. The GUI script example says to use "Keystroke with,,," That errors.

The dictionary says keystroke "R" using control down / shift down / command down. That errors; "Can't make control down into a real.

If I comment out the "Tell System events" the tool show.

if I comment out only the keystroke commands then the Tools appear only momentarily.

Enabling only the "keystroke "K"..." line does not show the tool box.

If I can get all that to work then I will need to find out how to test for the existence of these windows so I won't be hiding them.

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"
activate
tell window 1
keystroke "I" using control down / command down -- show information
keystroke "K" using command down -- show toolbox
keystroke "R" using control down / shift down / command down -- show overview
keystroke "D" using shift down / command down -- show detail
end tell
end tell
end tell

--
Bob Poland - Englewood, CO
http://www.ibrb.org/
_______________________________________________
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.

  • Follow-Ups:
    • Re: keystroke "I" using control down / command down
      • From: Rob Jorgensen <email@hidden>
  • Prev by Date: Re: delay 1 millisecond in Panther
  • Next by Date: Create file alias on user desktop
  • Previous by thread: Re: (no subject)
  • Next by thread: Re: keystroke "I" using control down / command down
  • Index(es):
    • Date
    • Thread