System Events + UI Scripting issue + Spanish keyboard issue?
System Events + UI Scripting issue + Spanish keyboard issue?
- Subject: System Events + UI Scripting issue + Spanish keyboard issue?
- From: Michael Cytrynowicz <email@hidden>
- Date: Tue, 24 Dec 2002 16:49:18 -0800
Hi all,
I am entering text via "keystroke" instructions, and the text that gets
typed gets changed to something else. My keyboard is Spanish, my current
layout is Spanish ISO, and my preferred language for menus is English.
This is the script:
----------------------------------------------------------------
tell application "Tinderbox"
activate
end tell
tell application "System Events"
tell process "Tinderbox"
click menu item "New" of menu "File" of menu bar 1
delay 1
keystroke "k" with command down
delay 2
keystroke "1234567890'!qwertyuiop`+asdfghjklq4g<zxcvbnm,.-"
end tell
end tell
-----------------------------------------------------------------
This is the resulting note title;
1234567890'0qwertyuaop`+asdfghjkla%a<zxcvbnm.-.
Any clues?
(BTW, happens with other apps too, e.g., Tex-Edit)
Mike
_______________________________________________
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.