Re: [Sikuli-driver] [Question #692219]: python sikuli issue

2020-08-05 Thread Prabhas Koya
Question #692219 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692219 Prabhas Koya posted a new comment: How can I run a script which synchronizes time ..That means what should I add to the code such that it synchronises time and runs in background,because I added a variable ti

Re: [Sikuli-driver] [Question #692219]: python sikuli issue

2020-08-05 Thread Prabhas Koya
Question #692219 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692219 Prabhas Koya posted a new comment: How can I run a script which synchronizes time ..That means what should I add to the code such that it synchronises time and runs in background,because I added a variable ti

Re: [Sikuli-driver] [Question #692219]: python sikuli issue

2020-08-05 Thread Prabhas Koya
Question #692219 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692219 Prabhas Koya posted a new comment: RAI MAN YOU ARE AWESOME timeNow = float(time.strftime("%H.%M")) print "timeNow =", timeNow THIS SOLVED MY QUESTION -- You received this question notification because your

Re: [Sikuli-driver] [Question #692219]: python sikuli issue

2020-08-05 Thread Prabhas Koya
Question #692219 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692219 Status: Answered => Solved Prabhas Koya confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an

Re: [Sikuli-driver] [Question #692219]: python sikuli issue

2020-08-05 Thread RaiMan
Question #692219 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692219 RaiMan posted a new comment: @masuo sometimes, yes ;-) mostly in cases, where I want to check my own knowledge :-)) -- You received this question notification because your team Sikuli Drivers is an answer c

Re: [Sikuli-driver] [Question #692219]: python sikuli issue

2020-08-05 Thread masuo
Question #692219 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692219 masuo posted a new comment: @RaiMan You are very kind to beginners. (^^)v -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. __

Re: [Sikuli-driver] [Question #692219]: python sikuli issue

2020-08-05 Thread RaiMan
Question #692219 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692219 RaiMan proposed the following answer: Generally: Python variables should start with a lowercase letter and consist only of letters numbers and underscore. First trial with Region().text() is not recommended,

Re: [Sikuli-driver] [Question #692219]: python sikuli issue

2020-08-05 Thread masuo
Question #692219 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692219 Status: Open => Answered masuo proposed the following answer: Variable "TIME" is string. Convert "TIME" to floating variable "fTime" for example. And compare "fTime" and "12.45". -- You received this q

[Sikuli-driver] [Question #692219]: python sikuli issue

2020-08-05 Thread Prabhas Koya
New question #692219 on Sikuli: https://answers.launchpad.net/sikuli/+question/692219 Once check my small code and tell whats wrong in it? how can i achieve it click(Region(47,721,39,47)) wait(2) type("date +%H.%M") type(Key.ENTER) a = Region(1,48,57,22).text() TIME = a if TIME < 12.45: print("