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


Click here to return to the 'Avoid the Input Menu's US flag in the menubar' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Avoid the Input Menu's US flag in the menubar
Authored by: asan102 on May 28, '04 08:12:48PM
I solved this problem by writing a little applescript to launch the character palette and keyboard viewer. Here it is, and much simpler than the application that was linked to earlier in the thread: To launch Keyboard Viewer:
try
	do shell script "killall -m \"KeyboardVi\""
end try
tell application "KeyboardViewerServer"
	activate
end tell
And for the Character Palette:
try
	do shell script "killall -m \"CharPalett\""
end try
tell application "CharPaletteServer"
	activate
end tell
Just save each of these as a script with an appropriate name. To conveniently access them, you can use your hotkey or menulet application of choice (my personal choice is Another Launcher, which lets you do Hot-keys and Menus. I personally have them in a menu with a bunch of other things, but you could give them their own menu, with an icon of your choice, to emulate the Input Menu). If you also want the Show International Preferences… item, just add the file at /System/Library/Localization.prefPane to the menu. When you click it it will open the International Preferences. Assigning the correct icons to the Character Palette and KEyboard Viewer scripts can be kind of tricky, depending on what program you are using for the menu, but it is possible.

[ Reply to This | # ]
Avoid the Input Menu's US flag in the menubar
Authored by: Anonymous on Jul 13, '04 11:11:30PM

I tried these but I get a Syntax Error: "Expected end of line but found identifier." Then KeyboardVi or CharPalett is highlighted. Since I'm a Script Editor neophyte, I don't know how to resolve this. Suggestions?



[ Reply to This | # ]