← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #268932]: select() question

 

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

rob barlow posted a new comment:
I found a work around to what I wanted to do.

Env.addhotkey(Key.ESC,0,Quit)  # ESC not used in game
Setings.Dquit = 1

def Quit(event):
    Settings.Dquit =5

then in any function just use

if Settings.Dquit != 1
   break

then i go back to my main where i can pop up the select() stuff. It
works too not sure if theres a better way.

Thank you once again for the help an info.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.