mantener pulsadas 2 teclas al mismo tiempo al tocar WheelUp
Moderator: Flipeador
mantener pulsadas 2 teclas al mismo tiempo al tocar WheelUp
hola , si alguien me pudiera ayudar necesito un ahk que al tocar wheelup la tecla LButton y RButton se mantengan presionadas al mismo tiempo.. please!
Re: mantener pulsadas 2 teclas al mismo tiempo al tocar WheelUp
Code: Select all
WheelUp::
if (!GetKeyState("LButton", "P"))
SendInput {LButton down}
if (!GetKeyState("RButton", "P"))
SendInput {RButton down}
return
Re: mantener pulsadas 2 teclas al mismo tiempo al tocar WheelUp
me sirvio muchas gracias, una consulta mas, como puedo desactivarlo utilizando hotkey toggle, lo que pasa es que hotkey toggle no me reconoce el script a la hora de desactivar.. saludos!
lo tengo asi pero me salta un error, dice "non existent hotkey" :
F::
if toggle := !toggle
Hotkey, *WheelDown::, On
else
Hotkey, *WheelDown::, Off
return
*WheelDown::
if (!GetKeyState("LButton", "P"))
SendInput {LButton down}
if (!GetKeyState("RButton", "P"))
SendInput {RButton down}
return
lo tengo asi pero me salta un error, dice "non existent hotkey" :
F::
if toggle := !toggle
Hotkey, *WheelDown::, On
else
Hotkey, *WheelDown::, Off
return
*WheelDown::
if (!GetKeyState("LButton", "P"))
SendInput {LButton down}
if (!GetKeyState("RButton", "P"))
SendInput {RButton down}
return
Re: mantener pulsadas 2 teclas al mismo tiempo al tocar WheelUp
Los dos puntos no forman parte de la tecla de acceso rápido. Prueba quitándoos del comando Hotkey.
Who is online
Users browsing this forum: No registered users and 45 guests