Thomas- Saturday, April 22, 2006, 10:19:13 AM, you wrote: > if this_key is in rightKeys then > tell application "System Events" > keystroke (ASCII character 29) > end tell Interesting. I have to say I never thought of sending keystrokes to the "System Events" app. -- -Mark Wieder mwieder at ahsoftware.net