Hi. Thanks much for the reply. sorry I am not very good with this app and just a new user. would you please explain more? I did till "Random" and gave it 1 to 5. but not sure about the rest. how can use the generated integer as a parameter for another action for example swiping the screen?Use Set Variable action -- Integer variable -- Random, and If -- Else if -- End if.
It's up to you to describe/choose the specific action(s) you want to execute, according to the value of the random number.Hi. Thanks much for the reply. sorry I am not very good with this app and just a new user. would you please explain more? I did till "Random" and gave it 1 to 5. but not sure about the rest. how can use the generated integer as a parameter for another action for example swiping the screen?
ok, thanks. I could make it work. now I can have for example 3 actions and choose randomly from them. so a new issue. there is a duration option in the gesture command. do we have access to these parameters? can I assign an integer to that parameter? so we can have a duration between 100 to 200 ms for example?It's up to you to describe/choose the specific action(s) you want to execute, according to the value of the random number.
:
A: IF Random_Number=1 THEN
A: action(s)1
A: ELSE IF Random_Number=2
A: action(s)2
A: ELSE IF Random_Number=3
A: action(s)3
:
:
(A: ELSE action(s) for Random_Number out of range) ←optional
A: ENDIF
You are right, it is not possible to assign a duration to gesture from a variable. As well as for (x,y) coordinates. Maybe you should post in 'Feature request' section.ok, thanks. I could make it work. now I can have for example 3 actions and choose randomly from them. so a new issue. there is a duration option in the gesture command. do we have access to these parameters? can I assign an integer to that parameter? so we can have a duration between 100 to 200 ms for example?
if I want to use the original random solution I should create 100 different actions which is frustrating. so it is very helpful if we can have access to the duration field..