In a loop I wish to press the down key n + 1 number of times, where n is the CurrentIndex variable of the loop. What is the idiomatic way to do this?
I have the same issue. I use the flow "sent keys" to type over a website.
No matter if I use {Return:1} or {Return} it does 3 times.
Any thoughts about it?.
Try this:
Send Keys {Down:%LoopIndex +1%}
SendKeys {Down:3} would send it 3 times, so this should get you what you need.
good luck.
Ah gotcha, so maybe more like this (I used N, you would use down arrow)
Won't this send the n key once per iteration in the loop? What I want to do is to send a specific key (Down arrow) LoopIndex + 1 times. So send down key once on the first iteration, twice on the second etc.
I'm thinking it would be something along the lines of this:
eetuRobo
4
Super User 2025 Season 1
KO-05050229-0
2
stampcoin
2