Inserting text with incremental numbers


I have a number list of Var1= [1, 500, 501, 1000, 1001, 1500] and want to insert them in the google search panel incrementally.

I tried like %Variable%Var1[i+1]% and repeat function, but did not work.

Is there any solution for this?


Hi Khan,

There is much about your post that is unclear; for best results in the future, I recommend reading this and following its suggestions: How Do I Get the Best Answer in the Shortest Time?

That said, I was able to figure out the crux of what you're asking, and this example macro should show you how to iterate through each value in a variable array for as many values as the array holds and insert each one via typing:

Example Macro.kmmacros (2.6 KB)