• 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
System Events + UI Scripting issue + Spanish keyboard issue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: System Events + UI Scripting issue + Spanish keyboard issue?
      • From: Michael Grant <email@hidden>
  • Prev by Date: Keystroke [ Was: uh, that's so cool! AS 1.9.1]
  • Next by Date: Re: APPLE PREVIEWS NEW APPLESCRIPT TECHNOLOGY
  • Previous by thread: Re: simple number question
  • Next by thread: Re: System Events + UI Scripting issue + Spanish keyboard issue?
  • Index(es):
    • Date
    • Thread