Yosemite Spotlight: control + ` doesn't work when keyboard input is Thai
I've been using control + ' (control grave) for OS X Spotlight activation. Before OS X Yosemite, it works no matter what the current keyboard input language is (I'm Thai so apparently, I've got TH and EN as keyboard inputs)
Now, in OS X Yosemite, when the input is Thai, control + ' does nothing because OS X thought it's control + - (control minus). Then, I have to switch back to EN to activate Spotlight which is very frustrating.
So, after a bit of quick research, I made an applescript to trigger control + ' as following...
tell application "System Events"
key code 50 using {control down} -- keycode 50 is grave accent
end tell
With this script and Quicksilver, you can create a custom trigger for the script with any keyboard shortcut.
So, in this case, I bind control + - to trigger the script.
Aaaand that's it. Hope this helps!
Written by noppatee :P
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Osx
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#