Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need a locale-independent solution to create a new text file with a keyboard shortcut in Windows 7.

I've tried AutoHotkey to create shortcut in Windows 7 for text file creation in current window of explorer like described in answer to Is there a shortcut for creating a new file?.

However, the solution doesn't work on Russian systems because keyboard shortcuts depend on the UI language.

I faced the issue with Russian locale because I don't want to change my keyboard layout to Russian every time I want to use something like this:

Send {Alt} ;Menu
Send f ;> File
Send w ;> New
Send t ;select Text Document
Send ^a ;select all

In Russian locale I need to use Russian symbols instead of f, w, t, a, etc.

Is there a system language-independent solution for this?

Probably I need to get current location of opened explorer window and ... what? I don't want to send cmd command because I want to set file name in time I create file (not renaming it later with F2 key) and I don't have any other solution this moment.

share|improve this question
    
Have you tried using Russian characters in the AutoHotkey script? –  gronostaj Jul 23 '13 at 13:24
    
@gornostaj It's not a case because I work in multi-locale environment and want to use/share script between machines with both English (different types) and Russian locales –  zubactik Jul 23 '13 at 13:34
add comment

1 Answer

@zubactik Your need use the virtual/scan codes of keys, instead names, example/some my explanation.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.