| View previous topic :: View next topic |
| Author |
Message |
ZARDOZ Guest
|
Posted: Wed Apr 20, 2005 11:05 am Post subject: how do i make it press and hold? |
|
|
if i record what i do, press record, click in the window i want focused
and press space for 1sec... it does do that for me when i run that script later..
it just press space 10 times or so...
i cant figure out how to make it press and hold space for 1 second instead of repeating itself for 1 sec..
or.. i cant even make it 1 sec, it repeates itself as many times as it did when i recorded it... but i hold it down then..
hope you understand what i mean.. my english isnt the best
thanks |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Wed Apr 20, 2005 1:29 pm Post subject: |
|
|
you have to edit your script.
I'm as well not very good in this feild.
But You might want to try to "send" a "space down" and "sleep" for a while and then send a "space up" _________________ Ciao
toralf  |
|
| Back to top |
|
 |
ZARDOZ Guest
|
Posted: Wed Apr 20, 2005 2:12 pm Post subject: |
|
|
like this, or am i doing it wrong? cant make it work..
#space::
Send, {SpaceDown}
Sleep, 1000
Send, {SpaceUp}
return
thanks  |
|
| Back to top |
|
 |
ZARDOZ Guest
|
Posted: Wed Apr 20, 2005 7:09 pm Post subject: |
|
|
no one knows?
want to make windowskey+space to press and hold space for a specific time |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Wed Apr 20, 2005 7:41 pm Post subject: |
|
|
That's almost correct, you just need a space in between "space" and "down/up":
#space::
Send, {Space Down}
Sleep, 1000
Send, {Space Up}
return |
|
| Back to top |
|
 |
ZARDOZ Guest
|
Posted: Wed Apr 20, 2005 8:22 pm Post subject: |
|
|
niiice thank you |
|
| Back to top |
|
 |
|