Page 1 of 1
Could some one write me a simple script?
Posted: 30 Nov 2021, 18:22
by laughingoblin
I can't get my head around the scripts and how to write them. All i need is a simple script (if it'll be simple) that presses Space and C at the same time when I press B.
I appreciate any help i'll get a lot, thank you!
Re: Could some one write me a simple script?
Posted: 30 Nov 2021, 21:53
by mikeyww
Re: Could some one write me a simple script?
Posted: 01 Dec 2021, 06:50
by laughingoblin
Hi! thanks for it i trully do appreciate it. But i got a quick question so it doesn't quite work when I'm holding down shift, will it work like this? leftshift b::Send {Space down}c{Space up}
works well enough without it but realised it would be a lot faster for me
Re: Could some one write me a simple script?
Posted: 01 Dec 2021, 07:03
by mikeyww
Yes.
+ is used to designate
Shift as a modifier key. If needed, you can use
<+ for
LShift.
Code: Select all
b::
+b::Send {Space down}c{Space up} ; Unshifted output
; +b::Send {Blind}{Space down}c{Space up} ; Shifted output
Explained:
Hotkey modifier symbols
The characters ^+!# represent the modifier keys Ctrl, Shift, Alt and Win. They affect only the very next key.
Re: Could some one write me a simple script?
Posted: 01 Dec 2021, 07:49
by laughingoblin
I'm slowly beginning to understand how writing scripts and codes work, thanks a bounch!