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.
Answer
@zubactik Your need use the virtual/scan codes of keys, instead names, example/some my explanation.
No comments:
Post a Comment