Solved Expression is not working

Devendhar

New Member
Hi All,

I have tried the blow expression while sending Global send keys event .

"^{DOWN [Max Loops]}"

but getting the below error :

Internal : Failed to perform step 1 in Navigate Stage 'Last Record' on page 'MutiComp' - Specified repeat count is not valid.

Could you helps us to resolved the issue.

Regards,
Devendhar
 

cs.andras

Active Member
Hi,
Have you tried Global Send Key Events as well? I think this function only works there. And the formula does not use brackets e.g: "{ESC}3".
At least this is what I recall. Let us know if you had any success.
 

Tolani

New Member
I'm not sure what you're intending with this but to send Down a couple of times using Global Send Key Events use {DOWN number_of_times}e.g {DOWN 12}. Mind you, the syntax for Send Keys and Key Events are different. ^ represent Ctrl in send keys and {CTRL} in send key event.
 

adebroise

RPA Ninja
Staff member
Your problem seems to be that you have a data item within your string:

"^{DOWN [Max Loops]}" this will evaluate as a literal string "^{DOWN [Max Loops]}"

What you're probably looking for is:

"^{DOWN " & [Max Loops] & "}" , where Max Loops is 5, this will evaluate as "^{DOWN 5}"
 

rahinik

Member
Hi adebroise, I am getting same error as " Specified repeat count is not valid." While parsing the .json file to cmd prompt. Please advise.
 
Hi, i have the same problem but ONLY in PROD mode. If i execute the process using Schedule mode, i have this same error using {PGUP 5}...
 
Top