I'm trying to implement the following approach to launching frequently used apps/web sites in two steps:
1. I press some shortcut that enables jump state, e.g. Win+J
2. Then I press a specific key to run the command I need.
This works sort of like a lead key in vim.
I know I can do something like:
Code: Select all
jump_state := 0
#j:: jump_state := 1
$g::
if (jump_state = 1) {
run https://www.google.com
jump_state := 0
}
else {
Send, g
}
return