Re: weird UI scripting problems.
Re: weird UI scripting problems.
- Subject: Re: weird UI scripting problems.
- From: Rob Jorgensen <email@hidden>
- Date: Tue, 11 Nov 2003 09:22:52 -0500
At 6:43 AM -0500 11/11/03, Bill Cheeseman wrote:
on 2003-11-10 8:05 PM, Deivy Petrescu at email@hidden wrote:
On Nov 10, 2003, at 3:23 PM, Deivy Petrescu wrote:
The first of the weird problems i am facing with UI scripting is
numbers... I can not script a
keystroke a (where a is a number)
So keystroke 1 or keystroke 6 or keystroke 9 produces nothing.
Can anybody confirm this ?
follow up:
I can script keystroke "4" or whatever number, but not on the iBook,
only on the G4. Both running Panther.
Does this happens with all laptops? Can anybody else check please?
This works on my original PowerBook G4 (Titanium):
tell application "TextEdit" to activate
tell application "System Events"
tell process "TextEdit"
keystroke "4"
end tell
end tell
All keystroke commands should take a character in quotation marks, as far as
I know.
This works for me (PowerBook G4 Titanium running OS X 10.2.8).
tell application "TextEdit" to activate
tell application "System Events" to keystroke "4"
-- 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.