looping a script forever in Sikulix
First of all apologies for asking a question that already exists and answered numerous times but my knowledge of python is 0 i am a ultra noob and i dont understand any of those explanations.
I made a macro for a game with Sikulix and it works fine i just need to loop it forever i need the code that will enable this for my macro.
This is the code i need looped
click("
wait(80)
wait("145373600
wait("145320280
wait(10)
Image1 = ("1453723117924
Image2 = ("1453735625632
class Multi():
def __init__(self):
def Search(self):
# Look when one of the two images appear.
while True:
if exists(
# Break loop.
elif exists(
# Break loop.
else:
# Run class
Multi()
wait("145320288
Im sure its crude and can be refined but im happy with it like a childs first drawing or something i just need the loop code added to this so i can see it and copy it, explaining it wont help as im too dumb at the moment to understand i am trying to learn basic python but will be a while before im able to understand any of it any help much appreciated.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: