← Back to team overview

sikuli-driver team mailing list archive

[Question #689290]: app.focus()-need asistance

 

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

iam working on sikuli to automate few checks.While presenting my screen via skype to others app focus is being pushed to back  as there would be a top bar saying presenting your screen though i use the function app.focus correctly.
it is a screen presentation.
could you please help us here.
The code is as follows in Python

itracapp.focus('iTrac Dashboard')
while exists(Pattern("1582814114669-3.png").similar(0.81)):  
    itracapp.focus('Error -9')
    wait(2)
    #
    where = Region(525,488,733,241)
    result = Do.popError("", "Unable to Launch the dashboard-retsrate is required", "", False, 3)
    click("1582821885318-3.png")
    wait(2)
    click(Pattern("1582821934102-3.png").similar(0.87))
    wait(1)


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