Question #663268 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663268

    Status: Open => Answered

RaiMan proposed the following answer:
Script:
def openChrome(event):
    click("1516306798475.png")
# When the user pressed Ctrl+n, click the top-left chrome icon.
Env.addHotkey("n", KeyModifier.ALT + KeyModifier.CTRL, openChrome)

# this is the waiting loop
while True:
    wait(1)

if you start the script, it will run forever to be able to listen and
react.

In this setup the script has to be killed, if no longer needed.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to