How to send several HotKeys


#1

Hi guys,

I’m using “Type Text” to simulate Down key but I’d like to press Down 100 times.
Do you know how to do it pls?

I already tried “[100(down)]” , 100"[k(down)]"… but didn’t work…

Thanks a lot! :slight_smile:


#2

Using a do while? or if you want to go to the end just use “ctrl + end”? make sure you provide details whenever asking for solutions. :slight_smile:

please mark the thread as solution if this works for you.

regards.


#3

I believe you can just say how many times you want to write a text with “Type into”, without going into a loop.
For example to press “enter” 100 times you “Type into” : 100"[k(enter)]" … but it doesn’t work… any clue?

Thanks!


#4

What about this?

Personally Idk if you can do that, what are you trying to automate, can you please explain?


#5

I just wondered if we could do that.
I already tried with this “Do While” solution but i wanted to know if we could use “Type into” with a number to type the same thing X times.

Thanks!


#6

Type “aaaaaaaaa” will write a 8 times.


#7

A simple way to repeat any string is a VB expression like this:

Dim result = String.Join("", Enumerable.Repeat(“abc”, 10))

You can also specify the separator.

Adrian.


Multiple hot key press
#8

That’s new…i could have used this one in one of my processes :slight_smile: