← Back to team overview

sikuli-driver team mailing list archive

[Question #292921]: How to make a "bridge" to 2 or 3 script

 

New question #292921 on Sikuli:
https://answers.launchpad.net/sikuli/+question/292921

Hallo,
first of all thank you for your great work and sorry for my bad english.

I need to know if exist a solution to my problem.

I have 3 script open in sikuli.

It's possible that, if the first recived an error (for exemple a page that don't load) make start the second and then the third and then return to start the first???

Probably i'm completly foolish, but is only to know if it's possible.

My 3 script:

--1--

while True:
    Settings.MoveMouseDelay = 0
    click("1461871061524.png")
    wait("1461998054978.png" , 30)    
    click("1461790568264.png")
    wait("1461927466069.png" , 30)    
    click("1461929814234.png")
    wait (0.1)
    paste ("58715087")
    wait(0.1)
    click("1461790625878.png")
    wait (2)
    click("1461790735584.png")
    wait (2)
    click("1461790751014.png")
    wait("1461839397368.png" , 30)
    wait (0.2)
    click("1461790801445.png")
    wait("1461839780061.png" , 30)
    wait (3) 
    click("1461790824422.png")
    wait("1461839952318.png" , 30)
    wait (0.1)
    click("1461790878725.png")
    wait("1461840026660.png" , 30)
    wait (0.1)    
    click("1461790924671.png")
    wait (5)
    doubleClick("1461791381153.png")
    wait (1)
    doubleClick("1461791381153.png")
    wait (1)
    doubleClick("1461791381153.png")
    wait (2)
    click("1461790987905.png")
    wait (0.1)
    click("1461791962165.png")
    wait (0.5)
    click("1461855597073.png")    
    wait (0.1)
    click("1461791027702.png")
    wait (2)    
    doubleClick("1461949032982.png")    
    wait (1)
    click("1461791050838.png")
    wait (0.1)
    click("1461792278856.png")
    wait (0.1)
    click("1461792296200.png")
    wait (0.1)
    click("1461792310678.png")
    wait (0.1)
    click("1461792323422.png")
    wait (0.1)
    click("1461792334663.png")
    wait (0.1)
    click("1461792345406.png")
    wait (0.1)
    click("1461792358266.png")
    wait (0.1)
    click("1461862522746.png")
    wait (0.1)
    click("1461862566518.png")
    wait (0.1)
    click("1461792376958.png")
    wait (0.1)
    paste ("sa")
    wait (0.1)
    click("1461792407816.png")
    wait (0.1)
    click("1461792420711.png")
    wait (0.1)
    click("1461792442271.png")
    wait (0.1)
    click("1461792461960.png")
    wait (0.1)
    click("1461792473576.png")
    wait (0.1)
    click("1461792485133.png")
    wait (0.1)
    click("1461792495230.png")
    wait (0.1)
    click("1461792508725.png")
    wait (0.1)
    click("1461792518947.png")
    wait (0.1)
    click("1461792528359.png")
    wait (0.1)
    click("1461792542597.png")
    wait (0.1)
    click("1461792551023.png")
    wait (0.1)
    click("1461792560319.png")
    wait (0.1)
    click("1461792569671.png")
    wait (0.1)
    click("1461792578932.png")
    wait (0.1)
    click("1461792588858.png")
    wait (0.1)
    click("1461792597588.png")
    click("1461792607784.png")
    wait (4)
    click("1461856775703.png")
    wait("1462009915467.png" , 30)    
    doubleClick("1461856802828.png")    
    click("1461856851459.png")
    wait("1461862957369.png" , 30)
    wait (5)
    click("1461856907012.png")
    wait (15)
    click("1461871123310.png")
    wait("1461872297908.png" , 30)    
    click("1461871148881.png")
    wait (3)

--2--

wait (2)
click("1461871123310.png")
wait("1461872297908.png" , 30)    
click("1461871148881.png")
wait (3)

--3--

while True:
    Settings.MoveMouseDelay = 0
    click("1461871061524.png")
    wait (4)
    click("1461790568264.png")
    wait("1461927466069.png" , 30)    
    click("1461929814234.png")
    wait (0.1)
    paste ("58715087")
    wait(0.1)
    click("1461790625878.png")
    wait (2)
    click("1461790735584.png")
    wait (2)
    click("1461790751014.png")
    wait("1461839397368.png" , 30)
    wait (0.2)
    click("1461790801445.png")
    wait("1461839780061.png" , 30)
    wait (3) 
    click("1461790824422.png")
    wait("1461839952318.png" , 30)
    wait (0.1)
    click("1461790878725.png")
    wait("1461840026660.png" , 30)
    wait (0.1)    
    click("1461790924671.png")
    wait (5)
    doubleClick("1461791381153.png")
    wait (1)
    doubleClick("1461791381153.png")
    wait (1)
    doubleClick("1461791381153.png")
    wait (2)
    click("1461790987905.png")
    wait (0.1)
    click("1461791962165.png")
    wait (0.5)
    click("1461855597073.png")    
    wait (0.1)
    click("1461791027702.png")
    doubleClick("1461949032982.png")    
    wait (1)
    click("1461791050838.png")
    wait (0.1)
    click("1461792278856.png")
    wait (0.1)
    click("1461792296200.png")
    wait (0.1)
    click("1461792310678.png")
    wait (0.1)
    click("1461792323422.png")
    wait (0.1)
    click("1461792334663.png")
    wait (0.1)
    click("1461792345406.png")
    wait (0.1)
    click("1461792358266.png")
    wait (0.1)
    click("1461862522746.png")
    wait (0.1)
    click("1461862566518.png")
    wait (0.1)
    click("1461792376958.png")
    wait (0.1)
    paste ("sa")
    wait (0.1)
    click("1461792407816.png")
    wait (0.1)
    click("1461792420711.png")
    wait (0.1)
    click("1461792442271.png")
    wait (0.1)
    click("1461792461960.png")
    wait (0.1)
    click("1461792473576.png")
    wait (0.1)
    click("1461792485133.png")
    wait (0.1)
    click("1461792495230.png")
    wait (0.1)
    click("1461792508725.png")
    wait (0.1)
    click("1461792518947.png")
    wait (0.1)
    click("1461792528359.png")
    wait (0.1)
    click("1461792542597.png")
    wait (0.1)
    click("1461792551023.png")
    wait (0.1)
    click("1461792560319.png")
    wait (0.1)
    click("1461792569671.png")
    wait (0.1)
    click("1461792578932.png")
    wait (0.1)
    click("1461792588858.png")
    wait (0.1)
    click("1461792597588.png")
    click("1461792607784.png")
    wait (2)
    click("1461871123310.png")
    wait("1461872297908.png" , 30)    
    click("1461871148881.png")
    wait (3)

Thank you for the help.

Snoopino

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.