Closed snsnsjsn closed 3 years ago
They are compiled AutoIT scripts, since that doesn't seem to have the same bug. See here for details
when my win10 update to 19042.630, ahk sendplay not work , my used code for down ,is numlock combinate with j `NumLock & j:: if GetKeyState("Tab")=0 { if getkeystate("shift") = 0 { if GetKeyState("alt")=0 SendPlay, {Down} else Send, {Blind}!{Down} Return }
Else
{
if GetKeyState("alt")=0
Send, {Blind}+{Down}
else
Send, {Blind}+!{Down}
Return
}
} Else { if getkeystate("shift") = 0 { if GetKeyState("alt")=0 MouseMove, 0, +100, 0, R Return } Else { if GetKeyState("alt")=0 MouseMove, 0, +10, 0, R Return } }
but now , how can i get this function, when i press numlock + shift+ j to down select mutiple lines? just like this
Are you using the two exe
s? Other than those, the next best solution is using send ^down
. Doesn't have the same behavior but seems to work where send down
doesn't.
Are you using the two
exe
s? Other than those, the next best solution is usingsend ^down
. Doesn't have the same behavior but seems to work wheresend down
doesn't.
yes , now if i need numlock + j can move cursor down from different line, i must use exe , but i could not use exe combinate numlock and shift and j to select mutiple lines .
if i press numlock + shift + j, it just move down the cursor , not select . just like numlock + j , so how can i get shift fuction?
I'm sorry, I don't understand what you are asking. Perhaps it is a question better served for more general AHK forums
here is screen recorder to see what i describe
Are you using the scripts in this repository? Or are you using your own? By default AHK doesn't combine modifiers (like shift
) with existing shortcuts. You would have to create an additional shortcut that includes shift
. There are several AHK forums that discuss this.
Are you using the scripts in this repository? Or are you using your own? By default AHK doesn't combine modifiers (like
shift
) with existing shortcuts. You would have to create an additional shortcut that includesshift
. There are several AHK forums that discuss this.
yes i use my own shift ,but not work , i don't know how to combine the shift key with the fuction j() call the SendDown.exe
my own shift code is like this
`#if WinActive("ahk_exe" "ONENOTE.EXE") j(){ run %A_ScriptDir%\sendDown.exe } k(){ run %A_ScriptDir%\sendUp.exe } NumLock & j::j() return NumLock & k::k() return
and my shift key script is here
NumLock & j:: if GetKeyState("Tab")=0 { if getkeystate("shift") = 0 { if GetKeyState("alt")=0 Send, {Blind}{Down} else Send, {Blind}!{Down} Return } Else { if GetKeyState("alt")=0 Send, {Blind}+{Down} else Send, {Blind}+!{Down} Return } } Else { if getkeystate("shift") = 0 { if GetKeyState("alt")=0 MouseMove, 0, +100, 0, R Return } Else { if GetKeyState("alt")=0 MouseMove, 0, +10, 0, R Return } }
how can i combine the shift plus j() fucntion?
this is not work for me
NumLock & j:: if GetKeyState("shift")=0 j() Else +j() Return NumLock & k:: if GetKeyState("shift")=0 k() Else +k() Return
I'm sorry, this isn't a general purpose support forum. This is specific to this repo. Your code is formatted poorly and I don't understand your questions beyond the help I have already given you. You will have to ask on more general AHK support forums if you need more help.
i check the code of vim_onenote.ahk , it use the up.exe down.exe to solve up and down in onenote so i call from my script, it is very good to solve my up and down in onenote eveyday
thanks
so what is code in these two exe ?