Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

XnavxeMiyyep

macrumors 65816
Original poster
Mar 27, 2003
1,131
4
Washington
When I try to type a character, such as é, into AppleScript, it is treated as an a. (say "olé" is pronounced "olah", for instance).

Is there a way to make Applescript recognize such characters?
 

ergdegdeg

Moderator emeritus
Oct 13, 2007
1,628
0
You can use this app to see the key codes. In order to produce an "é", first make the accent via "key code 24" then the "e".
 

XnavxeMiyyep

macrumors 65816
Original poster
Mar 27, 2003
1,131
4
Washington
I wanted to type things like "delta" and "is an element of". However, I just realized that Butler actually has a print text function that can handle this, and I can map keyboard shortcuts to series of things (so applescript, butler prints text, more applescript).

Thanks for the info though.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.