Linking script back again after else
Example Script: [Roughly What i wrote]
If Exists("Picture A")
Click("Me 1")
Click("Me 2")
Else
Click("Him1")
Click("Him 2")
Now Here comes my problem....
Is there anyway to link back to my script again after the else??
[What i actually wanted]
If Exists("Picture A")
BACK TO HERE <--------------
Click("Me 1") |
Click("Me 2") |
Else |
Click("Him1") |
Click("Him 2") |
CONTINUE BACK TO EXISTS >-|
More Examples:
In CMD language,
I wrote this:
If Exists("Picture A")
:Blah
Click("Me 1")
Click("Me 2")
Else
Click("Him1")
Click("Him 2")
:Blah [Linking Blah to the top Blah]
Please help me thank you!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Poh Wei Pin for more information if necessary.