Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Keyboard Viewer and Character Palette via AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Keyboard Viewer and Character Palette via AppleScript
Authored by: loren_ryter on Aug 09, '10 10:36:29AM

that worked, thanks. but the applescript has a slight error (at least on 10.6.4) -- the keyboard viewer process should have no space. also the click process method gave an error but a simple quit command worked. here's my mod:

tell application "System Events"
if exists (process "KeyboardViewer") then
tell application "KeyboardViewer" to quit
do shell script "~/bin/keyboardViewer"
end if
end tell

(* note that I changed the script path to my preferred location for user domain scripts)

[ Reply to This | # ]