if / then --->> jumping to certain sections in a task

Discuss RoboTask here
Post Reply
simpleuser
Posts: 1
Joined: Tue Feb 02, 2016 9:48 pm

if / then --->> jumping to certain sections in a task

Post by simpleuser »

I have a question, is there a possibility in Robotask to direct the task flow to different sections of the task?
For example I make a task-section with mouse movements and mouse clicks which are always the same and these
clicks only have to be executed for example 10 times and the lead the task to another section of the task.
Do I need to make this with VB or JS or does Robotask have such commands included?
I mean commands which lets the task stream go to this or another section in condition of a variable.
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: if / then --->> jumping to certain sections in a task

Post by Oleg »

Yes, of course
Look at the actions If Then, ElseIf Then, Else

You easily can construct such algorithm

Code: Select all

If <condition1> then
   DoSomething1
ElseIf <condition2> then
   DoSomething2
ElseIf <condition3> then
   DoSomething3
.........
Else
   DoSomethingN
End if
Oleg Yershov
Post Reply