I have two languages on my system ie English and Russian. Often I have a need to jump into a chat and type stuff in Russian, when I switch back from the messenger app or any other for that matter to MacVim I want the system or MacVim itself to switch the current language to English by default. I have not been able to find a solution so here is my question, perhaps someone has already achieved this behaviour.
Related
This may seem on the surface to be a very basic question but its something I've never been able to do. And I'm wondering if someone can help as its really impacting my scripting!
I'm a Brit living in Japan, my computer keyboard is a Japanese model with all the icons in the Japanese place but my setup on windows is to think the keyboard is British- I'm just so used to everything been in its proper place and don't have to look at the keyboard to type.
For most purposes this is great.
However, I can't seem to be able to do a back slash. Where it should be in the bottom left is on a Japanese keyboard an extra big tab, back slash is instead over on the bottom right, near forward slash, a key which does nothing on my setup.
Does anyone know a way to configure windows 7 so that when I alt and shift to switch my typing language (something easy to do. Don't need help there) it also switches the type of keyboard it thinks I have. Or, even better, customise the layout of my keyboard.
Hope this doesn't get closed as many other config questions seem to have been as my being able to script depends upon this!
I just wonder if we could take advantage of multiple language support in windows phone 7, 7.5 in any mean to enhance user's experience. For example says that how I can detect what language user use on the phone (this appear in start up setting) to auto change my app language. Or perhaps, what is a best way to provide user with multiple language support?
You can do this with Resource Files
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff637520(v=vs.105).aspx
There is some value in allowing a user to choose the language themselves, in particular if you want to support a language not supported by the phone, ie Chinese on 7.0
If you go into settings > keyboard, and then add another language it will give you options when the keyboard comes up so that useless autocorrect is no longer useless when typing in another language.
I had the problem of everything I wrote in spanish being autocorrected.. This is especially annoying when it splits your word into 2 as you are forced to retype it.
When adding a second language, you will have an extra button at the bottom of the keyboard so you can switch between lanugages. This changes the dictionaries also.. I believe you can have as many as you like.
I've been eager to try out the Programmer Dvorak keyboard layout, so I downloaded it from http://www.kaufmann.no/roland/dvorak/.
Strangely (to me at least), with it activated, I can't input anything into TextMate. TextMate is perfectly happy with the Dvorak options that come as standard with Snow Leopard, but this just shuts it down.
It seems ironic that a keyboard layout designed to maximize programming efficiency should be violently incompatible with an editor designed to do the same! How can I get TextMate to accept this new layout?
Hmm, curiously it seems to have started working now. Possibly I just needed to restart the computer?
In anycase I suspect this was a non-question - sorry!
I am writing a program to sit in the background on osx 10.6, listen to keystrokes and record them, grouping them by window title. (No, I am not writing malicious software. I do not need this program to be sneaky in any way, I just want to have a safety net for when I have typed a huge email and then accidentally refresh the page (APPLE-R) instead of opening a new tab (APPLE-T)) I have already found apple's EventMonitorTest example for the keystroke capturing code, now I just need to find the "key window" title.
Does anyone know where I can find examples for this kind of functionality? Thank you!
A couple of possibilities:
You could use the Accessibility API (though of course keep in mind that 64-bit Carbon does not support this)
You could use the CGWindow functions introduced in Leopard
I suspect the first option will be easier to do this with, since the CGWindow API is somewhat low-level and treats all windows (application windows, menu bars, dock icons, etc.) more or less equally.
I have not configured much keybindings due to my change from QWERTY to Dvorak, 4 months ago. I am using a programmer version of the layout. I find many terminal-based programs, such as Elinks and Vim, easier to use. The experience raises a question:
Which programs are customised for Dvorak?
[Some Elaborating] The term "customised program" means that you can easily use a Dvorak with the program. At least for me, Dvorak has opened my eyes to the shortcuts that I found odd earlier. How about you? Please, do not hesitate mention the programs.
[My Findings]
Opera browser
Opera's keys, such "CTRL+A", "CTRL+E", "CTRL+D" and "CTRL+H", are on the home row in Dvorak. Then, have a look at Qwerty: not on the home row. Is Opera customised for Dvorak or vice versa? Or is it just because of Unix? Earlier, I used Firefox 95% of my time. Now, the ratio is 40% for Firefox.
Terminal apps
The answers have mentioned terminal apps, such as GNU Screen. I am interested to know more about them.
I've been using Dvorak for 10+ years now, and actually have found that most of the QWERTY keybindings are actually just fine on a Dvorak layout.
But, since you're looking for things to customize, I have made extensive bindings changes in gnu emacs for my favorite bindings. It's fully customizable, and a great editor. My .emacs file has over 15 years of changes in it -- I'm sure others here have been using it for much longer than that!
Another great program to customize for keybindings is gnu screen, which I'm beginning to use extensively on the machines that I administer remotely.
My two cents: use AutoHotkey / IronAHK to remap hotkeys globally or for specific keybinds that cause you grief. Since switching to Dvorak a few years ago, I've've only had one such problem, but it's a big one: the hotkeys for cut, copy, and paste are placed awkwardly on Dvorak compared to pressing ctrl+x/c/v.
The keys are obviously meant to be adjacent and close to the control button, so globally remapping these keys is a great solution for me.
^q::^x
^j::^c
^k::^v
That way, you can use whatever programs you like, and bend them to your will.
I learned Vim on Qwerty, but I prefer Dvorak for typing English, so I use qwerty2dvorak (http://www.vmunix.com/vim/howto/dvorak.html) which lets me use Qwerty to tell Vim what to do (ie, hjkl) and Dvorak to type text.
I just set my keyboard on Dvorak, and go. I use the dvorak layout for all my command keys, and you get used to it very quickly. Apple (and others) do have layouts set up where the layout is Dvorak for normal typing, but querty when the command key is used.
Whatever you do, just pick something simple and stick with it. If you're having to use different keyboard shortcuts for different apps, you're likely to wear yourself down remembering all that.