hi need help pls

Ask gaming related questions (AHK v1.1 and older)
Joo Se Hyuk
Posts: 69
Joined: 05 Sep 2016, 12:52

hi need help pls

04 Jan 2018, 23:23

hi

how i can do with this script if i press rbutton then after did everything what is in the script press again rbutton but when i holding down rbutton i dont wanna "lose" the holding down effect, in game when i holding down rbutton with this script is working fine but when i press once but not holding down, i wanna send rbutton at the end only once, but if add send rbutton in the script its break the hold down effect :S
pls help

~*$rbutton up::

Send {mbutton down}
sleep 200
Send {mbutton up}
Send {rbutton}

return
mast4rwang
Posts: 141
Joined: 19 Jul 2017, 09:59

Re: hi need help pls

05 Jan 2018, 17:27

lol your script activates only when you release the right button. For you to know in the future:
if you do "Send,{Button Down}" it will remain pressed until script encounters "Send,{Button Up}"

Also you send Right button click and expect to not loose holding down? :D I would like to see you in game doing that, you would need two mouses to do it :D Maybe you need right button click then immediately hold it down again which would make sense:

Code: Select all

*RButton::
Send,{RButton Down}
Send,{MButton Down}
sleep,200
Send,{MButton Up}
Send,{RButton Down}
sleep,200
Send,{RButton Up}
Send,{RButton Down}
return
*RButton Up::
Send,{RButton Up}
return

Code: Select all


; You probably explained it wrong so here is another way, most likely to work:

~*RButton::
Send,{MButton Down}
sleep,200
Send,{MButton Up}
Send,{RButton Down}
sleep,200
Send,{RButton Up}
Send,{RButton Down}
return
*RButton Up::
Send,{RButton Up}
return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: radko and 52 guests