Macro 1 to 9999

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
AlexLPBDQ
Posts: 1
Joined: 21 Oct 2021, 21:11

Macro 1 to 9999

21 Oct 2021, 21:14

Hey ! How can i add +1 to a script (like i send one, i press an other time, its send 2....)

like, i have this like code:

^j::
Send, 1{Enter}
return

and if i press another time to ^j, i would like to send 2 etc.
Last edited by AlexLPBDQ on 22 Oct 2021, 08:40, edited 1 time in total.
Rohwedder
Posts: 7630
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Macro 1 to 9999

22 Oct 2021, 03:30

(I'm really curious if anyone decodes what you want to have.)
Edit: Now it is understandable.
Last edited by Rohwedder on 23 Oct 2021, 00:57, edited 1 time in total.
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Macro 1 to 9999

22 Oct 2021, 09:00

Code: Select all

i:=0
^j::
  i++
  Send, %i%{Enter}
return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: jameswrightesq, scriptor2016 and 256 guests