Hi,
I need to press down arrow 10 times holding ctrl+shift keys how can I achieve this I don’t find an option in sending hotkeys.
Hi,
I need to press down arrow 10 times holding ctrl+shift keys how can I achieve this I don’t find an option in sending hotkeys.
The “Repeat Number of Times” activity.
However, pressing the down arrow 10 times probably isn’t the best solution. What are you trying to do, scroll the page down? Give us some details so we can actually help.
Just use the Repeat Number of Times activity.
Hi @postwick ,
In one of the process that I’m automating there is a web application in which I’ve a combobox inside which there are like ~1800 IDs which should be selected in batches of 10s or 50s. So in order to select them I need press ctrl + shift +down arrow(10s or 50s we desired of).
Got it. That’s actually a good use case for needing to repeat the down arrow.
Hi @postwick ,
Is there any other way of achieving this other than the one suggested above by @vrdabberu
counter
: Integer, default value = 0counter < 10
counter
counter + 1
Or use TypeInto activity with following expression:
"[d(ctrl)][d(shift)]" + string.join("", Enumerable.Repeat("[k(down)]",10)) + "[u(ctrl)][u(shift)]"
Explanation
[d(ctrl)] - press and hold Ctrl key
[d(shift)] - press and hold Shift key
string.join(“”, Enumerable.Repeat(“[k(down)]”,10)) - type Down key 10times
[u(ctrl)] - release Ctrl key
[u(shift)] - release Shift key
Cheers
Yes. Just use the Repeat Number of Times activity.