Re: Keystroke problems
Re: Keystroke problems
- Subject: Re: Keystroke problems
- From: John Cochrane <email@hidden>
- Date: Wed, 24 Dec 2003 08:00:06 +1100
On 23/12/2003, at 11:25 PM, Mr Tea wrote:
tell application "System Events"
tell process "TextEdit"
keystroke "a" using command down
end tell
end tell
That works (although I'm not sure what emulating the 'select all'
keyboard shortcut achieves in a new, blank TextEdit document).
Thanks, "using command down" works well.
I didn't really want to select all in a new document but could not get
"with command down" to work. Admittedly my example was silly.
Thanks again
John
_______________________________________________
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.