Reputation: 3174
In Windows we can create a shortcut for any batch script and assign a shortcut for it. (Right-Click on shortcut->Properties->Shortcut key)
How can I assign a double-shortcut for a shortcut like this? For example Ctrl+Alt+J, Ctrl+Alt+K. When I press Ctrl+Alt+J and Ctrl+Alt+K in a sequential order I want the batch script to execute.
Is this possible in Windows? If this method doesn't work, is there any other method this can be achieved through?
Upvotes: 0
Views: 357
Reputation: 20199
You can also use the SHIFT key which will give you more combinations of keys.
Upvotes: 0
Reputation: 14961
No, assigning a combination of hotkeys is impossible. Windows shortcuts are essentially stored IShellLink objects. The object's GetHotKey() documentation shows that only a single hotkey can be used.
Perhaps you could try AutoHotKey. Although I have no experience with it, AHK is usually the solution for such things.
Upvotes: 3