• 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 problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Keystroke problems


  • Subject: Keystroke problems
  • From: John Cochrane <email@hidden>
  • Date: Tue, 23 Dec 2003 22:09:57 +1100

Using Script Editor 2.0 on OS 10.3.2 I cannot get the following to work. Has Panther upset GUI scripting?

tell application "TextEdit"
activate
make new document at beginning
end tell
delay 1
tell application "System Events"
tell process "TextEdit"
keystroke "a" with command down
end tell
end tell

Compiling stops at the "with command down" statement with the message -- Expected into, variable name, class name, other parameter name or property but found application constant or consideration.

John Cochrane
_______________________________________________
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 problems
      • From: Mr Tea <email@hidden>
  • Prev by Date: Re: script browsing
  • Next by Date: Re: Keystroke problems
  • Previous by thread: Re: script browsing
  • Next by thread: Re: Keystroke problems
  • Index(es):
    • Date
    • Thread