A_Index Topic is solved
A_Index
I am trying to figure out how to use the A_Index and I know how to start from 1-Infinite, but how do I start from 6-Infinite or 5625-Infinite? I want to type 5625 5626 5627...so on automatically. Can anyone help me out on this?
- JoeWinograd
- Posts: 2200
- Joined: 10 Feb 2014, 20:00
- Location: U.S. Central Time Zone
Re: A_Index Topic is solved
This will do it:
Regards, Joe
Code: Select all
Loop ; no count, so it loops infinitely
{
CurrentIndex:=A_Index+5624
; the value you want is now in the variable CurrentIndex
; do whatever you want with it, such as typing it (with a space after each value)
SendInput %CurrentIndex%%A_Space%
}
-
- Posts: 1472
- Joined: 05 May 2018, 12:23
Re: A_Index
Code: Select all
loop 5{
bingo := a_index+6
msgbox, % bingo
}
ExitApp
Who is online
Users browsing this forum: No registered users and 251 guests