Re: [Sikuli-driver] [Question #267039]: [1.1.0] getWindow() OS X

2015-05-18 Thread RaiMan
Question #267039 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267039

Status: Open => Answered

RaiMan proposed the following answer:
works on Windows and Mac.

for Mac

--1: create an App object:

myApp = App("Safari")

--2: make sure it is running with some frontmost window

myApp.open()

... and make sure, the window is visible

since with App.open() not always the window information is already
available:

myApp.focus() # to refresh the title info in doubt

print myApp.getWindow() # should now print the window

-- for debugging purposes:
print myApp

gives you something like
[10498:Safari (Question #267039 : Questions : Sikuli)] Safari

which is 
[nPID:executableName (main/frontmost window title)] given text

see: 
http://sikulix-2014.readthedocs.org/en/latest/appclass.html#the-application-class-app
the chapter: How to create an App instance

Sorry, more is not yet documented yet ;-)

You received this question notification because you are a member of
Sikuli Drivers, which 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 #267039]: [1.1.0] App class: OS X: getWindow() title of app's frontmost window

2015-05-18 Thread RaiMan
Question #267039 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267039

Summary changed to:
[1.1.0] App class: OS X: getWindow() title of app's frontmost window

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #266528]: app.focus() not working after window title change (Windows 8.1)?

2015-05-18 Thread Geoff Bache
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528

Geoff Bache posted a new comment:
Hmm, the app does not come up at all. It still works fine in the old
way. No errors are written, and the exact command is the same.

Is Sikuli redirecting stdout and stderr from the app in the above
example? Is there any way to debug this?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #266528]: app.focus() not working after window title change (Windows 8.1)?

2015-05-18 Thread RaiMan
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528

RaiMan requested more information:
Does the app start as it should with the approach from comment #16?

if yes: 
myApp.focus()

what happens?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #266871]: Ruby scripting: create PDF with prawn

2015-05-18 Thread RaiMan
Question #266871 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266871

Status: Open => Answered

RaiMan proposed the following answer:
I am sorry, but I am not the expert in Ruby and especially Gem handling.

I guess you have to look out for a method to activate the gem loading
within an already running script.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #266528]: app.focus() not working after window title change (Windows 8.1)?

2015-05-18 Thread Geoff Bache
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528

Geoff Bache posted a new comment:
No it doesn't, that's what I'm reporting.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #266871]: Ruby scripting: create PDF with prawn

2015-05-18 Thread Giel Raijmakers
Question #266871 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266871

Giel Raijmakers posted a new comment:
Thanks for the help RaiMan.
I hope I will figure this out. If so, I will update this post. 

Cheers!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #139737]: how to import multiple image libraries in sikuli?

2015-05-18 Thread Iole
Question #139737 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/139737

Iole posted a new comment:
Hi Raiman,

I downloaded the lates sikuli. version 1.1.0. But this issue still
exists. When i call the first imageloader, it will run as expected
however whne calling the second imagelibrary. it just could not find the
image and will also time out.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #139737]: how to import multiple image libraries in sikuli?

2015-05-18 Thread Iole
Question #139737 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/139737

Iole posted a new comment:
imagelibrary*

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #139737]: how to import multiple image libraries in sikuli?

2015-05-18 Thread Iole
Question #139737 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/139737

Iole posted a new comment:
same scenario, one script for two imagelibrary. Just depends on the
parameters that will pass down at start up for sikuli knows what
imagelibrary to look at.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #266528]: app.focus() not working after window title change (Windows 8.1)?

2015-05-18 Thread RaiMan
Question #266528 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266528

RaiMan proposed the following answer:
ok, found a problem. will be fixed tomorrow (bringing back the old
behaviour additionally).

Sorry for the inconvenience.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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


[Sikuli-driver] [Question #267057]: Hi I am facing this bellow issue while running sikuli through eclipse.

2015-05-18 Thread Sindhu
New question #267057 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267057

java.util.prefs.WindowsPreferences 
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 
0x8002. Windows RegCreateKeyEx(...) returned error code 5.
[error] ResourceLoader: loadLib: Fatal Error 109: not found: 
C:\LIMOAndroid\libs\VisionProxy.dll
[error] * Terminating SikuliX after a fatal error 109 *
It makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.


Can you help me with this


-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #267057]: Hi I am facing this bellow issue while running sikuli through eclipse.

2015-05-18 Thread RaiMan
Question #267057 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/267057

Status: Open => Answered

RaiMan proposed the following answer:
version?

if it is 1.0.1, try 1.1.0 (http://sikulix.com)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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


[Sikuli-driver] [Bug 1455812] Re: [1.1.0] IDE hangup, recording an image to an array --- fixed 2015-05-18+

2015-05-18 Thread Eugene Maslov
I confirm the fix in today's version. Thank you, Raimund!

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1455812

Title:
  [1.1.0] IDE hangup, recording an image to an array --- fixed
  2015-05-18+

Status in Sikuli:
  Fix Committed

Bug description:
  There is a small Python file with one line:

  btn_start=["btn_start1_1.png"]

  IDE is set to ask manual typing the image name.

  Trying to record the second screenshot in IDE:
  put a comma after the first image name:

  btn_start=["btn_start1_1.png", ]

  put the cursor after the comma, then click "Take screenshot", select
  again some region on the screen, e.g. Start button.

  Result: IDE hangs up, the dialog of image naming does not appear,
  killing is needed.

  Quite blocking for me, as I use many such arrays for alternative images 
search in flexible user interfaces.
  Earlier IDE versions did not hang up, at least 1.1.0 from 18.09.2014 which I 
used before for long time.

  both on Windows XP (Java SE RTE 1.7.0_60) and Win 7-64 (Java SE RTE 
1.7.0_67-b01)
  Fresh version 1.1.0 2015-05-16

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1455812/+subscriptions

___
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