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: emale on Jan 07, '10 09:54:11AM
I have to admit, that to assume, the KeyboardViewser-script works too, if the CharacterPalette-script works was no good idea.
But I found another, less easy, method to start KeyboardViewer here.

The site contains a download link for a UNIX binary file, the explanation how to install it and an alternative AppleScript, that finally works. Have really tested that ;-)

[ Reply to This | # ]
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
else
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 | # ]