Re: [Sikuli-driver] [Question #676036]: Trying to extract Date from the region and getting garbage values

2018-11-10 Thread monicar
Question #676036 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676036

Status: Answered => Open

monicar is still having a problem:
Thanks, I'll check it out.

On Sat, Nov 10, 2018, 9:12 AM masuo  Your question #676036 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/676036
>
> Status: Open => Answered
>
> masuo proposed the following answer:
> The extract result changes depending on the region surrounding characters.
> I recommend you to examine what region is suitable to extract characters.
>
> I tested this code by SikuliX1.1.4.
> [example as python:]
> tr = TextOCR.start()
> tr.setLanguage("eng")
> while True:
> r = selectRegion()
> s = r.text()
> App.setClipboard(s)
> popup(s)
> ans = popAsk("continue?")
> if ans == False:
> break
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/sikuli/+question/676036/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/sikuli/+question/676036
>
> You received this question notification because you asked the question.
>

-- 
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


Re: [Sikuli-driver] [Question #676036]: Trying to extract Date from the region and getting garbage values

2018-11-10 Thread masuo
Question #676036 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676036

Status: Open => Answered

masuo proposed the following answer:
The extract result changes depending on the region surrounding characters.
I recommend you to examine what region is suitable to extract characters.

I tested this code by SikuliX1.1.4.
[example as python:]
tr = TextOCR.start()
tr.setLanguage("eng")
while True:
r = selectRegion()
s = r.text()
App.setClipboard(s)
popup(s)
ans = popAsk("continue?")
if ans == False:
break

-- 
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


Re: [Sikuli-driver] [Question #676037]: JAVA API : hotkey working just first time?

2018-11-10 Thread Dado
Question #676037 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676037

Dado posted a new comment:
hi masuo, thanks, yes the variable is global, and I'm sure the hotkey is 
available because sometimes it works.
I'll do some more test to try understand what could be

-- 
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


Re: [Sikuli-driver] [Question #676037]: JAVA API : hotkey working just first time?

2018-11-10 Thread masuo
Question #676037 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676037

masuo proposed the following answer:
@Dado

Variable "running" is global ?
By popup window you can confirm hotkey is available .

This code works as expected.
[example as python:]
flag = True
def handler(event):
global flag
popup("Hotkey!")
flag = False

Env.addHotkey(Key.F1,KeyModifier.CTRL,handler)

while True:
popup("[OK]")
if flag == False:
break

-- 
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


Re: [Sikuli-driver] [Question #676037]: JAVA API : hotkey working just first time?

2018-11-10 Thread RaiMan
Question #676037 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676037

Status: Open => Answered

RaiMan proposed the following answer:
Offline til Nov 20th
Surely not the intended use 
You have to wait  or find out

-- 
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


Re: [Sikuli-driver] [Question #676008]: API in Java, running JAR displays API::JavaScriptRunner 1.1.4

2018-11-10 Thread RaiMan
Question #676008 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676008

Status: Open => Answered

RaiMan proposed the following answer:
I am offline until Nov 20th, so I cannot Check the IDEA Setup.

But there surely is an Option to specify the main class for the final
jar.

Another option is to setup your project as Maven

-- 
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