Re: [Sikuli-driver] [Question #590922]: How to get the system cursor type?

2017-03-29 Thread RaiMan
Question #590922 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/590922

Linked to bug: #1677135
https://bugs.launchpad.net/bugs/1677135
"[request] should be possible to get info about system cursor"

-- 
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 #590922]: How to get the system cursor type?

2017-03-29 Thread RaiMan
Question #590922 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/590922

Status: Open => Answered

RaiMan proposed the following answer:
ok, is on the list for version 2

see related bug

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


[Sikuli-driver] [Question #590922]: Status of bug #1677135 changed to 'In Progress' in Sikuli

2017-03-29 Thread RaiMan
Bug #1677135 status changed in Sikuli:

New => In Progress

https://bugs.launchpad.net/sikuli/+bug/1677135
"[request] should be possible to get info about system cursor"

This bug is linked to #590922.
How to get the system cursor type?
https://answers.launchpad.net/sikuli/+question/590922

-- 
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 #588177]: Paste() doesn't work "perfectly"

2017-03-29 Thread RaiMan
Question #588177 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/588177

Status: Open => Needs information

RaiMan requested more information:
is it a local application or a web app?

I want to setup a testcase myself.

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


[Sikuli-driver] [Bug 1677135] [NEW] [request] should be possible to get info about system cursor

2017-03-29 Thread RaiMan
Public bug reported:

I am using sikuli to control a windows application, when click a button, the 
system corsor changes to Busy(HourGlass), I have to wait until it changes to 
Idle(Normal), then go to next step.
But I don't know how to get the system cursor type? Is there a way to call the 
windows API GetCursorInfor to get it or some other way?

** Affects: sikuli
 Importance: Medium
 Assignee: RaiMan (raimund-hocke)
 Status: In Progress

** Changed in: sikuli
   Status: New => In Progress

** Changed in: sikuli
   Importance: Undecided => Medium

** Changed in: sikuli
 Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
Milestone: None => 2.0.0

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

Title:
  [request] should be possible to get info about system cursor

Status in Sikuli:
  In Progress

Bug description:
  I am using sikuli to control a windows application, when click a button, the 
system corsor changes to Busy(HourGlass), I have to wait until it changes to 
Idle(Normal), then go to next step.
  But I don't know how to get the system cursor type? Is there a way to call 
the windows API GetCursorInfor to get it or some other way?

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1677135/+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


[Sikuli-driver] [Bug 1677134] [NEW] [1.1.1] findAll() should throw FindFailed

2017-03-29 Thread RaiMan
Public bug reported:

In the docs it says that findAll should cause a FindFailed exception if there 
are no matches in 1.1 
(http://sikulix-2014.readthedocs.io/en/latest/region.html#Region.findAll). The 
actual behavior, however, seems to be that it returns a None object. I can make 
my code account for both, but which of these is the correct behavior moving 
forward?
(reported directly to RaiMan by Minyoung Choi)

All find operations (except exists by design) should report FindFailed
and support the FindFailed response concept.

** Affects: sikuli
 Importance: High
 Assignee: RaiMan (raimund-hocke)
 Status: Fix Committed

** Changed in: sikuli
   Status: New => Fix Committed

** Changed in: sikuli
   Importance: Undecided => High

** Changed in: sikuli
 Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
Milestone: None => 1.1.1

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

Title:
  [1.1.1] findAll() should throw FindFailed

Status in Sikuli:
  Fix Committed

Bug description:
  In the docs it says that findAll should cause a FindFailed exception if there 
are no matches in 1.1 
(http://sikulix-2014.readthedocs.io/en/latest/region.html#Region.findAll). The 
actual behavior, however, seems to be that it returns a None object. I can make 
my code account for both, but which of these is the correct behavior moving 
forward?
  (reported directly to RaiMan by Minyoung Choi)

  All find operations (except exists by design) should report FindFailed
  and support the FindFailed response concept.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1677134/+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


Re: [Sikuli-driver] [Question #578456]: [1.1.1] macOS: App.focus: Occasionally: Where is osascript

2017-03-29 Thread RaiMan
Question #578456 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/578456

RaiMan posted a new comment:
ok, thanks.

I decided, that we have to live with it, until I have a better solution
in version 2 later this year.

-- 
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 #452897]: Unable to type '_' and capital letters in VNC screen

2017-03-29 Thread RaiMan
Question #452897 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/452897

RaiMan posted a new comment:
please try out the new VNC implementation with the latest SikuliX 1.1.1

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


[Sikuli-driver] [Bug 1674624] Re: [1.1.1] macOS: App.focus: Occasionally: Where is osascript

2017-03-29 Thread RaiMan
** Changed in: sikuli
Milestone: 1.1.1 => 2.0.0

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

Title:
  [1.1.1] macOS: App.focus: Occasionally: Where is osascript

Status in Sikuli:
  In Progress

Bug description:
  Occasionally !!
  My Log File :-
  [log] App.focus:  [0:TynonS2]

  My Screen (Pity I cant load a screen shot)
  Will have a box on the screen 
  headed Choose Application
  sub heading Where is osascipt
  and a list of all applications from my application directory

  Whilst this is happening the Application TynonS2 is loaded by the App.focus 
command
  The Script will then wait until the Cancel is clicked on the Choose 
Application box

  As Sikuli is paused I have no way to deal with this box within the
  Script

  Any Suggestions would be welcome

  as I said - Occasionally !! - maybe once in 500 times

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1674624/+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


Re: [Sikuli-driver] [Question #590922]: How to get the system cursor type?

2017-03-29 Thread mike wang
Question #590922 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/590922

Status: Answered => Solved

mike wang confirmed that the question is solved:
Looking forward for version 2.

-- 
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 #588177]: Paste() doesn't work "perfectly"

2017-03-29 Thread Alex
Question #588177 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/588177

Status: Needs information => Open

Alex gave more information on the question:
It's a local application.

The problem is that's a licensed software so you can't get it for free.

Maybe you can try with the "DEMO" version.
It's "Point de Vente G5" :

http://www.progmag.com/telechargements/version-demo.html


I'll keep in touch if you have questions.

-- 
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 #588177]: Paste() doesn't work "perfectly"

2017-03-29 Thread RaiMan
Question #588177 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/588177

Status: Open => Answered

RaiMan proposed the following answer:
ok, I will try it.

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


[Sikuli-driver] [Bug 1677134] Re: [1.1.1] findAll() should throw FindFailed

2017-03-29 Thread RaiMan
** Changed in: sikuli
   Importance: High => Critical

** Summary changed:

- [1.1.1] findAll() should throw FindFailed
+ [1.1.1] findAll() should throw FindFailed --- fixed: 2017-03-29

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

Title:
  [1.1.1] findAll() should throw FindFailed --- fixed: 2017-03-29

Status in Sikuli:
  Fix Committed

Bug description:
  In the docs it says that findAll should cause a FindFailed exception if there 
are no matches in 1.1 
(http://sikulix-2014.readthedocs.io/en/latest/region.html#Region.findAll). The 
actual behavior, however, seems to be that it returns a None object. I can make 
my code account for both, but which of these is the correct behavior moving 
forward?
  (reported directly to RaiMan by Minyoung Choi)

  All find operations (except exists by design) should report FindFailed
  and support the FindFailed response concept.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1677134/+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


Re: [Sikuli-driver] [Question #596725]: How to Automate Running Sikuli

2017-03-29 Thread Victor Dominguez Alcon
Question #596725 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/596725

Status: Open => Solved

Victor Dominguez Alcon confirmed that the question is solved:
Hi Mike,

Ok, thank you! I understood.

Kind Regards

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


[Sikuli-driver] [Bug 1673089] Re: [1.1.1] macOS 10.12 Sierra: type("test") only types tt in google search field and other input fields/areas--- workaround

2017-03-29 Thread dinev
We actually tried the workaround before posting the problem to Sikuli
forum. It does not seems to work well.

I created pure java code that reproduces the problem

--

import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.KeyEvent;
 
public class RobotExp {

  public static void main(String[] args) {
 
try {
 
Robot robot = new Robot();
// Creates the delay of 5 sec so that you can open notepad before
// Robot start writting
System.out.println("You have 5 seconds to focus typing target");

robot.delay(5000);
System.out.println("Typing...");
robot.delay(300);
robot.keyPress(KeyEvent.VK_T);
robot.delay(300);
robot.keyPress(KeyEvent.VK_E);
robot.delay(300);
robot.keyPress(KeyEvent.VK_S);
robot.delay(300);
robot.keyPress(KeyEvent.VK_T);
robot.delay(300);
System.out.println("Done.");
 
} catch (AWTException e) {
e.printStackTrace();
}
}
}

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

Title:
  [1.1.1] macOS 10.12 Sierra: type("test") only types tt in google
  search field and other input fields/areas--- workaround

Status in Sikuli:
  Confirmed

Bug description:
  *** workaround
  use paste() for the text parts and type() only for typing functional keys:
  paste("test"); type(Key.ENTER)

  or switch of the accented popup behavior (see below)

  - findings until now
  Seems to be related to the possible selection of accented characters if the 
key is held for some time (which is valid for e and s).

  The problem seems to be somewhere between the handling of the input
  field input and the way Java Robot types a character.

  according to https://infinitediaries.net/os-x-choose-between-the-
  character-accents-popup-and-key-repeat-when-holding-down-a-key/

  switch back to repeat key from accented character popup:
   In a Terminal: defaults write -g ApplePressAndHoldEnabled -bool false
  In this mode type works as expected.

  switch back reverse (popup again) (default in macOS Sierra).
   In a Terminal: defaults write -g ApplePressAndHoldEnabled -bool false

   problem for SikuliX: cannot be done on the fly, since the
  offending application has to be stopped and restarted again.

   in Terminal: defaults read -g ApplePressAndHoldEnabled
  reveals you current setting:
  0: no accented character popup (type should work as expected)
  1: you get accented character popup, type makes problems 

  

  We are experiencing issues with type() command under Mac OS Sierra.

  -- while typing accent menu appear -  see
  
https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/Product_Help/en_US/PUBLIC_USERS/PL124/S0120_AccentMenu.png

  -- typing actually miss some chars. For example typing "test" results
  in "tt" - https://www.screencast.com/t/xL79S0JK

  -- typing doesn't fire onKeyUp event in some fields(typing manually
  fires events)

  Please note that we do not have above issues with El Capitan and
  Yosemite Mac OS versions. We tried latest nightly Sikuli build as
  well. Java versions we are using is 1.8.121(latest)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1673089/+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


[Sikuli-driver] [Bug 1673089] Re: [1.1.1] macOS 10.12 Sierra: type("test") only types tt in google search field and other input fields/areas--- workaround

2017-03-29 Thread RaiMan
Not sure what you want to tell me.

After having switched of the accented popup behavior as mentioned, it
worked for me.

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

Title:
  [1.1.1] macOS 10.12 Sierra: type("test") only types tt in google
  search field and other input fields/areas--- workaround

Status in Sikuli:
  Confirmed

Bug description:
  *** workaround
  use paste() for the text parts and type() only for typing functional keys:
  paste("test"); type(Key.ENTER)

  or switch of the accented popup behavior (see below)

  - findings until now
  Seems to be related to the possible selection of accented characters if the 
key is held for some time (which is valid for e and s).

  The problem seems to be somewhere between the handling of the input
  field input and the way Java Robot types a character.

  according to https://infinitediaries.net/os-x-choose-between-the-
  character-accents-popup-and-key-repeat-when-holding-down-a-key/

  switch back to repeat key from accented character popup:
   In a Terminal: defaults write -g ApplePressAndHoldEnabled -bool false
  In this mode type works as expected.

  switch back reverse (popup again) (default in macOS Sierra).
   In a Terminal: defaults write -g ApplePressAndHoldEnabled -bool false

   problem for SikuliX: cannot be done on the fly, since the
  offending application has to be stopped and restarted again.

   in Terminal: defaults read -g ApplePressAndHoldEnabled
  reveals you current setting:
  0: no accented character popup (type should work as expected)
  1: you get accented character popup, type makes problems 

  

  We are experiencing issues with type() command under Mac OS Sierra.

  -- while typing accent menu appear -  see
  
https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/Product_Help/en_US/PUBLIC_USERS/PL124/S0120_AccentMenu.png

  -- typing actually miss some chars. For example typing "test" results
  in "tt" - https://www.screencast.com/t/xL79S0JK

  -- typing doesn't fire onKeyUp event in some fields(typing manually
  fires events)

  Please note that we do not have above issues with El Capitan and
  Yosemite Mac OS versions. We tried latest nightly Sikuli build as
  well. Java versions we are using is 1.8.121(latest)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1673089/+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


Re: [Sikuli-driver] [Question #596725]: How to Automate Running Sikuli

2017-03-29 Thread hill hall
Question #596725 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/596725

hill hall posted a new comment:
We are here to solve your issues of Microsoftoutlookoffice365. You are never 
lose your hope, you can consult with us and make free. We are here to solve 
your issues, our technical teams are highly trained, professional and 
experience. They are trained at IT Company. If you have any problem related to 
technical you can call and consult with us any time any day. We are third party 
windows technical support provider, on Office 365 support.
To know more information visit;
http://www.microsoftoutlookoffice365.com/outlook-365-support.html

-- 
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 #595513]: Blank log file when run from command line

2017-03-29 Thread JayGuajardo
Question #595513 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/595513

JayGuajardo posted a new comment:
I was redirecting with 
C:\Sikuli\runsikuli.cmd -r C:\Users\Test\Documents\SikuliTests\test1.sikuli -f 
C:\Users\Test\Desktop\testLog1.txt
which was blank. So was
C:\Sikuli\runsikuli.cmd -f -r C:\Users\Test\Documents\SikuliTests\test1.sikuli
which I believe is supposed to go to "WorkingDir/SikuliLog.txt"
which was also blank. So I just took the console output and did 
C:\Sikuli\runsikuli.cmd -r "C:\Users\Test\Documents\SikuliTests\test1.sikuli" > 
C:\Users\Test\Desktop\testLog1.txt
which seems to work for what I need.
Also is there a way to direct the IDE message window to a log file at the same 
time that I dont know about?

Thanks
Jay

I'm switching to 1.1.1 now as well so I'll see how that works.

-- 
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 #452897]: Unable to type '_' and capital letters in VNC screen

2017-03-29 Thread Tom Vandenbroeck
Question #452897 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/452897

Tom Vandenbroeck posted a new comment:
Hello Raiman,

Thank for the answer.

I was already using the latest SikuliX 1.1.1 version, as my colleague
did the implementation for the new VNC implementation.

-- 
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 #452897]: Unable to type '_' and capital letters in VNC screen

2017-03-29 Thread RaiMan
Question #452897 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/452897

RaiMan posted a new comment:
LOL, than your colleague should be able to fix the problem ;-)

... all the best to you both.

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