Loop from a specific index Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
user1824
Posts: 29
Joined: 10 Sep 2021, 10:40

Loop from a specific index

Post by user1824 » 28 Sep 2021, 09:23

Can we some how start a loop from a specific index position?
So that every time I run my script, it can continue from where it stopped rather than starting from 0.
Wondering if its possible?

Rohwedder
Posts: 7645
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Loop from a specific index  Topic is solved

Post by Rohwedder » 28 Sep 2021, 09:45

Hallo,
save (with IniWrite) the reached index position in an .ini file. Read it later (with IniRead) and skip (with Continue) the old index positions.

user1824
Posts: 29
Joined: 10 Sep 2021, 10:40

Re: Loop from a specific index

Post by user1824 » 28 Sep 2021, 10:25

Hey @Rohwedder ,

That sounds like something that would exactly do what I am trying to achieve.

Will give it a try, thanks!

Post Reply

Return to “Ask for Help (v1)”