1

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.

2
  • Have you tried using Russian characters in the AutoHotkey script?
    – gronostaj
    Jul 23, 2013 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, 2013 at 13:34

1 Answer 1

0

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

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .