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

if exists("os.environ('USERPROFILE')\Desktop.sikuli\exit.png"):
    click("os.environ('USERPROFILE')\Desktop.sikuli\exit.png")

I am trying to use an environment variable in the if exists 
and click statements, but I do not know the correct syntax.

Can you help me?

Thanks.

-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to