Keystroke problems
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.