Page 1 of 1

Using modifiers and help with fixing this macro

Posted: 17 Jun 2021, 13:04
by Kfram
So ive been trying to do this for awhile and i just cant seem to get it right.
Basically what im trying to do is using Ctrl+4 to execute Ctrl+4 and - in quick succession.
This is what i have right now, any help appreciated.

Code: Select all

$^4::
Send, {^ down}{4 down}{- down}
Send, {^ up}{4 up}{- up}
Return

Re: Using modifiers and help with fixing this macro

Posted: 17 Jun 2021, 13:36
by mikeyww
Here is a couple of options (not the same).

Code: Select all

~^4::Send -

Code: Select all

$^4::Send {Ctrl down}{4 down}-{4 up}{Ctrl up}
Running the following script will demonstrate one of the issues with your script.

Code: Select all

Send {^ down}{^ up}