need a simple script
need a simple script
hi i am new here, can anyone help me on how to hold control key, mouse right click and Q key at the same time? also using f12 key to start and stop the said key. thanks in advance.
Last edited by gregster on 23 Jul 2021, 02:06, edited 1 time in total.
Reason: Topic moved from 'Tutorials'.
Reason: Topic moved from 'Tutorials'.
Re: need a simple script
Hallo,
try:
try:
Code: Select all
F12 Up::Send, {LCtrl Down}{RButton Down}{q Down}
^F12 Up::Send, {LCtrl Up}{RButton Up}{q Up}
Re: need a simple script
Thank you for the help it works perfectly, I would like to ask one more thing. What if I am going to separate the q key and would like it to be pressed every 1 sec?Rohwedder wrote: ↑23 Jul 2021, 03:56Hallo,
try:Code: Select all
F12 Up::Send, {LCtrl Down}{RButton Down}{q Down} ^F12 Up::Send, {LCtrl Up}{RButton Up}{q Up}
Re: need a simple script
Then,
try:
try:
Code: Select all
F12 Up::
Send, {LCtrl Down}{RButton Down}{q}
SetTimer, Tq, 1000
Return
^F12 Up::
SetTimer, Tq, Off
Send, {LCtrl Up}{RButton Up}
Return
Tq:
Send, {Blind}{q}
Return
Re: need a simple script
tried it but the q is not working but control right click working fineRohwedder wrote: ↑23 Jul 2021, 09:05Then,
try:Code: Select all
F12 Up:: Send, {LCtrl Down}{RButton Down}{q} SetTimer, Tq, 1000 Return ^F12 Up:: SetTimer, Tq, Off Send, {LCtrl Up}{RButton Up} Return Tq: Send, {Blind}{q} Return
Re: need a simple script
Maybe you need this Timer?
It sends the Q key without pressed control modifier.
Code: Select all
Tq:
Send, {LCtrl Up}{q}{LCtrl Down}
Return
Re: need a simple script
it seems like i can't get it to work, it still only works on control right clickRohwedder wrote: ↑23 Jul 2021, 11:31Maybe you need this Timer?It sends the Q key without pressed control modifier.Code: Select all
Tq: Send, {LCtrl Up}{q}{LCtrl Down} Return
Who is online
Users browsing this forum: skeerrt and 151 guests