[Sikuli-driver] [Bug 1224758] Re: [1.0.1] dragDrop() does not accept 3 parameters --- workaround

2016-08-09 Thread Joe White
ok, tried a workaround like this:

keyDown(KeyModifier.ALT)
dragDrop(loc, Location(x,y))
keyUp()

but didn't work, used it this way and it worked

keyDown(Key.ALT)
dragDrop(loc, Location(x,y))
keyUp()

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

Title:
  [1.0.1] dragDrop() does not accept 3 parameters --- workaround

Status in Sikuli:
  Fix Committed

Bug description:
  - workaround
  keyDown(Key.CTRL)
  dragDrop(src, target)
  keyUp()
  

  script:
     srcfile = find("srcfile.png")
     dragDrop(srcfile,Location(srcfile.x+50,srcfile.y),KeyModifier.CTRL)

  Error:
  [error] TypeError ( dragDrop(): expected 1-2 args; got 3 )

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1224758/+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 1224758] Re: [1.0.1] dragDrop() does not accept 3 parameters --- workaround

2016-08-09 Thread Joe White
Tried this to mirror a window resize on Mac OS 10.11 with SikuliX 1.1.1.
The initial doc says there is an optional 3rd parameter.  Any chance for
a fix in 1.1.1? Otherwise, I have no way of finding the bottom right corner of 
a browser window with an unpredictable background.  KeyModifier.ALT works 
manually.thanks

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

Title:
  [1.0.1] dragDrop() does not accept 3 parameters --- workaround

Status in Sikuli:
  Fix Committed

Bug description:
  - workaround
  keyDown(Key.CTRL)
  dragDrop(src, target)
  keyUp()
  

  script:
     srcfile = find("srcfile.png")
     dragDrop(srcfile,Location(srcfile.x+50,srcfile.y),KeyModifier.CTRL)

  Error:
  [error] TypeError ( dragDrop(): expected 1-2 args; got 3 )

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1224758/+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 1609079] [NEW] osx .observe(1) getsRuntimeError ( maximum recursion depth exceeded (Java StackOverflowError) )

2016-08-02 Thread Joe White
Public bug reported:

This works on the same Mac OS 10.11.6 system with SikuliX 1.1.0.
Running the same program attached give a Java StackOverflowError on
the line "sample.observe(1) # observing for 1 seconds (script pauses here - 
Java Stack Overflow)
It happens the very first observation.same JDK and java versions.

## Log ###
[log] App.focus: [0:Firefox]
[log] ( ⌘ ) TYPE "t"
2016-08-02 11\:47\:42, Typed "t", KeyModifier.CMD
[log] TYPE "nist.time.gov#ENTER."
2016-08-02 11\:47\:44, Typed "nist.time.gov" + Key.ENTER
2016-08-02 11\:47\:45, Found Right now
[log] highlight M[749,127 410x25]@S(0) for 2.0 secs
[log] highlight R[793,175 350x62]@S(0) for 2.0 secs
= Starting Observation#0 
[error] script [ test3 ] stopped with error in line 132
[error] RuntimeError ( maximum recursion depth exceeded (Java 
StackOverflowError) )
# Program ###
import sys
import subprocess
import time
import shutil
setAutoWaitTimeout(5000)
Settings.ObserveScanRate = 2
def logit(msg):
lfile = open(id, "a")
msgall = time.strftime("%Y-%m-%d %H\:%M\:%S, ") + msg
print(msgall)
lfile.write(msgall)
lfile.close()
def snapit(msg):
bounds = getBounds()
pic = Screen(0).capture(bounds)
print("snapshot taken, + msg")
msg = msg.rstrip("\n")
sfile = path + "OSX10.11.5 " + time.strftime("%Y-%m-%d %H.%M.%S ") + msg + 
".png"
shutil.move(pic,sfile)
def findit(pattern,desc):
found = False
for i in range(3):
if wait(pattern,2):
msg = "Found %s\n" % desc
logit(msg)
found = True
break
if (not found):
msg = "%s not found\n" % desc
logit(msg)
snapit(msg)
return False
return True
def typekeys(app,cmd,parm1):
defined = False
if (app == "Firefox"):
if (cmd == "Clear Recent History"):
defined = True
keys = "Key.BACKSPACE, KeyModifier.SHIFT|KeyModifier.CMD"
type(Key.BACKSPACE, KeyModifier.SHIFT|KeyModifier.CMD)
msg = "Typed %s\n" % keys
logit(msg)
time.sleep(1)
clearnow = Pattern("clearnow.png").similar(0.80)
desc = "Clear Now"
rc = clickit(clearnow, desc)
if (rc == False):
return False
time.sleep(2)
elif (cmd == "New Tab & URL"):
defined = True
keys = "\"t\", KeyModifier.CMD"
type("t", KeyModifier.CMD)
msg = "Typed %s\n" % keys
logit(msg)
time.sleep(1)
keys = "\"%s\" + Key.ENTER" % parm1
type(parm1 + Key.ENTER)
msg = "Typed %s\n" % keys
logit(msg)
time.sleep(1)
elif (cmd == "Close Tab"):
defined = True
keys =  "\"w\", KeyModifier.CMD"
type("w", KeyModifier.CMD)
msg = "Typed %s\n" % keys
logit(msg)
time.sleep(1)
elif (cmd == "Select URL field"):
keys = "\"l\", KeyModifier.CMD"
type("l", KeyModifier.CMD)
msg = "Typed %s\n" % keys
logit(msg)
else:
pass
if (not defined):
msg = "No %s found\n" % cmd
logit(msg)
snapit(msg)
return False
return True
def timechanged(event):
print("Something changed in ", event.region)
num = 0
for ch in event.changes:
num += 1
ch.highlight() # highlight all changes
sleep(1)
print("Highlighted events=" + str(num))
num = 0
for ch in event.changes:
num += 1
ch.highlight() # turn off the highlights
print("Unhighlighted events=" + str(num))
Settings.isChanged = True
event.region.stopObserver()
### Main 

global id, path
# Create log file for msgs and path for snapshots
dir = "/users/joe/Documents/SikuliX/logs/"
lfile = "OSX10.11.5_" + time.strftime("%Y-%m-%d %Hh%Mm%Ss") + ".log"
id = dir + lfile
path = dir
lfile = open(id, "w")
lfile.close()
##
setThrowException(False)
app = "Firefox"
myApp=switchApp(app)
cmd = "New Tab & URL"
parm1 = "nist.time.gov"
rc = typekeys(app,cmd,parm1)
if (not rc):
exit(1)
header = "1469738059083.png"
rc = findit(header,"Right now")
if (not rc):
exit(2)
headerloc = find(header)
headerloc.highlight(2)
hx = headerloc.getX()
hy = headerloc.getY()
timeloc = Region(hx + 44, hy + 48, 350, 62)
timeloc.highlight(2)
passed = 0
failed = 0
for i in range(10):
sample = timeloc
sample.onChange(100, timechanged)
Settings.isChanged = False
print("= Starting Observation#" + str(i) + " ")
sample.observe(1) # observing for 1 seconds (script pauses here - Java 
Stack Overflow
if 

[Sikuli-driver] [Question #315005]: shutil.move(pic, sfile) returns error in 1.1.1

2016-08-01 Thread Joe White
New question #315005 on Sikuli:
https://answers.launchpad.net/sikuli/+question/315005

This script works in SikuliX 1.1.0.  I get a screenshot named
"OSX10.11.5 2016-08-01 15.11.10 Empty checkbox not found left of Reduce 
Transparency"

In 1.1.1 I get this error which seems to not like the parms in 
shutil.move(pic,sfile) where the
script reads as below.  Not sure what changed here???
## Script ###
def snapit(msg):
bounds = getBounds()
pic = Screen(0).capture(bounds)
print("snapshot taken, + msg")
msg = msg.rstrip("\n")
sfile = path + "OSX10.11.5 " + time.strftime("%Y-%m-%d %H.%M.%S ") + msg + 
".png"
shutil.move(pic,sfile)
### LOG #
[log] ( ⌘+⌥ ) TYPE "h"

[log] App.open [2990:System Preferences]

2016-08-01 15\:15\:01, Dragged System Preferences Window to top

[log] CLICK on L(1738,448)@S(0)[0,0 1920x1080] (581 msec)
2016-08-01 15\:15\:02, Clicked on Accessibility

2016-08-01 15\:15\:06, Empty checkbox not found left of Reduce Transparency

snapshot taken, + msg
[error] script [ mac10-11-onboard ] stopped with error in line 536
[error] TypeError ( coercing to Unicode: need string, 
org.sikuli.script.ScreenImage type found )
[error] --- Traceback --- error source first
line: module ( function ) statement 
293: shutil ( move ) File 
"/Users/joe/SikuliX-1.1.1/SikuliX.app/Contents/Java/sikulix.jar/Lib/shutil.py", 
line 293, in move
22: main ( snapit ) shutil.move(pic,sfile)
172: main ( clickitdir ) snapit(msg)
318: main ( reducetrans ) rc = clickitdir(reducet,desc,"left",echkbox,desc2,75)
[error] --- Traceback --- end --

-- 
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 1608693] [NEW] shutil.move(pic, sfile) returns error in 1.1.1

2016-08-01 Thread Joe White
Public bug reported:

This script works in SikuliX 1.1.0.  I get a screenshot named
"OSX10.11.5 2016-08-01 15.11.10 Empty checkbox not found left of Reduce 
Transparency"

In 1.1.1 I get this error which seems to not like the parms in 
shutil.move(pic,sfile) where the
script reads as below.  Not sure what changed here???
## Script ###
def snapit(msg):
bounds = getBounds()
pic = Screen(0).capture(bounds)
print("snapshot taken, + msg")
msg = msg.rstrip("\n")
sfile = path + "OSX10.11.5 " + time.strftime("%Y-%m-%d %H.%M.%S ") + msg + 
".png"
shutil.move(pic,sfile)
### LOG #
[log] ( ⌘+⌥ ) TYPE "h"

[log] App.open [2990:System Preferences]

2016-08-01 15\:15\:01, Dragged System Preferences Window to top

[log] CLICK on L(1738,448)@S(0)[0,0 1920x1080] (581 msec)
2016-08-01 15\:15\:02, Clicked on Accessibility

2016-08-01 15\:15\:06, Empty checkbox not found left of Reduce
Transparency

snapshot taken, + msg
[error] script [ mac10-11-onboard ] stopped with error in line 536
[error] TypeError ( coercing to Unicode: need string, 
org.sikuli.script.ScreenImage type found )
[error] --- Traceback --- error source first
line: module ( function ) statement 
293: shutil ( move ) File 
"/Users/joe/SikuliX-1.1.1/SikuliX.app/Contents/Java/sikulix.jar/Lib/shutil.py", 
line 293, in move
22: main ( snapit ) shutil.move(pic,sfile)
172: main ( clickitdir ) snapit(msg)
318: main ( reducetrans ) rc = clickitdir(reducet,desc,"left",echkbox,desc2,75)
[error] --- Traceback --- end --

** Affects: sikuli
 Importance: Undecided
 Status: New

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

Title:
  shutil.move(pic,sfile) returns error in 1.1.1

Status in Sikuli:
  New

Bug description:
  This script works in SikuliX 1.1.0.  I get a screenshot named
  "OSX10.11.5 2016-08-01 15.11.10 Empty checkbox not found left of Reduce 
Transparency"

  In 1.1.1 I get this error which seems to not like the parms in 
shutil.move(pic,sfile) where the
  script reads as below.  Not sure what changed here???
  ## Script ###
  def snapit(msg):
  bounds = getBounds()
  pic = Screen(0).capture(bounds)
  print("snapshot taken, + msg")
  msg = msg.rstrip("\n")
  sfile = path + "OSX10.11.5 " + time.strftime("%Y-%m-%d %H.%M.%S ") + msg 
+ ".png"
  shutil.move(pic,sfile)
  ### LOG #
  [log] ( ⌘+⌥ ) TYPE "h"

  [log] App.open [2990:System Preferences]

  2016-08-01 15\:15\:01, Dragged System Preferences Window to top

  [log] CLICK on L(1738,448)@S(0)[0,0 1920x1080] (581 msec)
  2016-08-01 15\:15\:02, Clicked on Accessibility

  2016-08-01 15\:15\:06, Empty checkbox not found left of Reduce
  Transparency

  snapshot taken, + msg
  [error] script [ mac10-11-onboard ] stopped with error in line 536
  [error] TypeError ( coercing to Unicode: need string, 
org.sikuli.script.ScreenImage type found )
  [error] --- Traceback --- error source first
  line: module ( function ) statement 
  293: shutil ( move ) File 
"/Users/joe/SikuliX-1.1.1/SikuliX.app/Contents/Java/sikulix.jar/Lib/shutil.py", 
line 293, in move
  22: main ( snapit ) shutil.move(pic,sfile)
  172: main ( clickitdir ) snapit(msg)
  318: main ( reducetrans ) rc = 
clickitdir(reducet,desc,"left",echkbox,desc2,75)
  [error] --- Traceback --- end --

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1608693/+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 1607861] Re: [1.1.1] osx 10.11.6 sikulix 1.1.0 save error (incomplete string problem) --- when comment contains ' --- fixed 1.1.1 2016-08-01

2016-08-01 Thread Joe White
Tried the latest nightly build and it now shows me the error.  I tried
both answers, but no patterns were deleted.  I just keep getting the
error until I fix the problemthanks Raimund!

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

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

Title:
  [1.1.1] osx 10.11.6 sikulix 1.1.0 save error (incomplete string
  problem) --- when comment contains ' --- fixed 1.1.1 2016-08-01

Status in Sikuli:
  Confirmed

Bug description:
  After working with a sikuli IDE 1.1.0 program, I save the file and get
  this error:

  Delete images on save:
  possible uncomplete string in line 1
  No images will be delete!

  All you can do is click OK.  This error has somehow caused 24 .png files
  to be deleted from the contents of the program.
  I had a backup file with all of the patterns...but after I copied all of the 
patterns back in my program, I could still not save my new program.
  The backup program lost it's patterns with the same error.  This was quite
  a bit of work to construct the proper icons and target offsets and correct
  size regions.  This is a critical problem to meI have no way of 
recovering this data.  Even a backup gets corrupted and putting the new info 
back in the program does not correct it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1607861/+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 1607861] Re: [1.1.1] osx 10.11.6 sikulix 1.1.0 save error (incomplete string problem) --- when comment contains '

2016-08-01 Thread Joe White
Python doesn't recognize strings in comments.
Seems a user should be able to put most anything
in comment.
I would have never figured this one out, although
I did make some changes in my script before I ran into this
problem trying to save them.
I did uncheck the "delete not used images" box in
the Preferences => more options in 1.1.0 to finally
make the box go away and keep my patterns from being
erased.  I never saw any indication as to what caused this problem.
I still have the ' characters in my 1.1.0 script after turning off the "delete 
not used
images".  I would recommend looking for the end of the comment
only.  Python allows ''' for a block comment, but this doesn't
work either.  I see what I need to do in order to work around this. Thanks.

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

Title:
  [1.1.1] osx 10.11.6 sikulix 1.1.0 save error (incomplete string
  problem) --- when comment contains '

Status in Sikuli:
  Fix Committed

Bug description:
  After working with a sikuli IDE 1.1.0 program, I save the file and get
  this error:

  Delete images on save:
  possible uncomplete string in line 1
  No images will be delete!

  All you can do is click OK.  This error has somehow caused 24 .png files
  to be deleted from the contents of the program.
  I had a backup file with all of the patterns...but after I copied all of the 
patterns back in my program, I could still not save my new program.
  The backup program lost it's patterns with the same error.  This was quite
  a bit of work to construct the proper icons and target offsets and correct
  size regions.  This is a critical problem to meI have no way of 
recovering this data.  Even a backup gets corrupted and putting the new info 
back in the program does not correct it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1607861/+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 1607861] [NEW] osx 10.11.6 sikulix 1.1.0 save error

2016-07-29 Thread Joe White
Public bug reported:

After working with a sikuli IDE program, I save the file and get this
error:

Delete images on save:
possible uncomplet string in line 1
No images will be delete!

All you can do is click OK.  This error has somehow caused 24 .png files
to be deleted from the contents of the program.

** Affects: sikuli
 Importance: Undecided
 Status: New

** Attachment added: "screenshot"
   
https://bugs.launchpad.net/bugs/1607861/+attachment/4709625/+files/Screen%20Shot%202016-07-29%20at%2010.29.40%20AM.png

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

Title:
  osx 10.11.6 sikulix 1.1.0 save error

Status in Sikuli:
  New

Bug description:
  After working with a sikuli IDE program, I save the file and get this
  error:

  Delete images on save:
  possible uncomplet string in line 1
  No images will be delete!

  All you can do is click OK.  This error has somehow caused 24 .png files
  to be deleted from the contents of the program.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1607861/+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 1607861] Re: osx 10.11.6 sikulix 1.1.0 save error

2016-07-29 Thread Joe White
** Description changed:

  After working with a sikuli IDE program, I save the file and get this
  error:
  
  Delete images on save:
  possible uncomplet string in line 1
  No images will be delete!
  
  All you can do is click OK.  This error has somehow caused 24 .png files
  to be deleted from the contents of the program.
+ I had a backup file with all of the patterns...but after I copied all of the 
patterns back in my program, I could still not save my new program.
+ The backup program lost it's patterns with the same error.  This was quite
+ a bit of work to construct the proper icons and target offsets and correct
+ size regions.  This is a critical problem to meI have no way of 
recovering this data.  Even a backup gets corrupted and putting the new info 
back in the program does not correct it.

** Description changed:

- After working with a sikuli IDE program, I save the file and get this
- error:
+ After working with a sikuli IDE 1.1.0 program, I save the file and get
+ this error:
  
  Delete images on save:
- possible uncomplet string in line 1
+ possible uncomplete string in line 1
  No images will be delete!
  
  All you can do is click OK.  This error has somehow caused 24 .png files
  to be deleted from the contents of the program.
  I had a backup file with all of the patterns...but after I copied all of the 
patterns back in my program, I could still not save my new program.
  The backup program lost it's patterns with the same error.  This was quite
  a bit of work to construct the proper icons and target offsets and correct
  size regions.  This is a critical problem to meI have no way of 
recovering this data.  Even a backup gets corrupted and putting the new info 
back in the program does not correct it.

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

Title:
  osx 10.11.6 sikulix 1.1.0 save error

Status in Sikuli:
  New

Bug description:
  After working with a sikuli IDE 1.1.0 program, I save the file and get
  this error:

  Delete images on save:
  possible uncomplete string in line 1
  No images will be delete!

  All you can do is click OK.  This error has somehow caused 24 .png files
  to be deleted from the contents of the program.
  I had a backup file with all of the patterns...but after I copied all of the 
patterns back in my program, I could still not save my new program.
  The backup program lost it's patterns with the same error.  This was quite
  a bit of work to construct the proper icons and target offsets and correct
  size regions.  This is a critical problem to meI have no way of 
recovering this data.  Even a backup gets corrupted and putting the new info 
back in the program does not correct it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1607861/+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 1607861] Re: osx 10.11.6 sikulix 1.1.0 save error

2016-07-29 Thread Joe White
This is the program after the error - still contains pattern file names
which do not exist.

** Attachment added: "Program"
   
https://bugs.launchpad.net/sikuli/+bug/1607861/+attachment/4709626/+files/mac10-11-onboard.sikuli.zip

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

Title:
  osx 10.11.6 sikulix 1.1.0 save error

Status in Sikuli:
  New

Bug description:
  After working with a sikuli IDE program, I save the file and get this
  error:

  Delete images on save:
  possible uncomplet string in line 1
  No images will be delete!

  All you can do is click OK.  This error has somehow caused 24 .png files
  to be deleted from the contents of the program.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1607861/+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 1606719] Re: Mac OS 10.11.6 App.open(sysprefs) eventually cannot find app

2016-07-28 Thread Joe White
** Changed in: sikuli
   Status: New => Invalid

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

Title:
  Mac OS 10.11.6 App.open(sysprefs) eventually cannot find app

Status in Sikuli:
  Invalid

Bug description:
  Sikulix 1.1.0 running on MAC OS 10.11.6
  600+ line script is run in command line mode.  The same function fails the 
second time
  with the following message:

  [error] App.open failed: /Applications/System Preferences.app not
  found

  This is a MAC OS System Preferences app.  It is closed each time it is
  open.  If it is already open, it gets focus.

  The script is trying to install and activate a wireless WPA2
  Enterprise profile and verify it.  Please let me know if there is any
  additional documentation I can provide.

  thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1606719/+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 1606644] Re: Mac OS 10.11.6 App.close(syspref) does not close application

2016-07-28 Thread Joe White
#1606719 covers this

** Changed in: sikuli
   Status: New => Invalid

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

Title:
  Mac OS 10.11.6 App.close(syspref) does not close application

Status in Sikuli:
  Invalid

Bug description:
  Using sikulix 1.1.0 IDE on Mac OS 10.11.6, the following does not
  close the application. The application opens, but does not close.
  I've tried older methods to accomplish the same, but the class App method is 
newest.

  
  program
  
  import sys
  import subprocess
  import time
  import shutil
  setAutoWaitTimeout(5000)
  sysprefs = "/Applications/System Preferences.app"
  App.open(sysprefs)
  time.sleep(2)
  titlesyspref = "titlesyspref.png"
  if wait(titlesyspref,2):
  print("Systems Preferences is visable")
  else:
  print("Can't see the window")
  exit(1)
  App.close(sysprefs)
  time.sleep(2)
  if wait(titlesyspref,2):
  print("Systems Preferences is visable")
  else:
  print("Can't see the window")
  exit(1)
  exit(1)

  =
  log
  =
  [log] App.open [0:]

  Systems Preferences is visable
  Systems Preferences is visable
  [info] Exit code: 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1606644/+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 1606723] Re: Mac OS 10.11.6 running Sikulix IDE 1.1.0 loses edit capability after execution --- workaround: first click outside the IDE window, before clicking inside

2016-07-28 Thread Joe White
Clicking outside of the IDE window is better than the two steps
(minimize then maximize the IDE window).  Irritating, but I won't tap
out.

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

Title:
  Mac OS 10.11.6 running Sikulix IDE 1.1.0 loses edit capability after
  execution --- workaround: first click outside the IDE window, before
  clicking inside

Status in Sikuli:
  Confirmed

Bug description:
  Mac OS 10.11.6 running Sikulix IDE 1.1.0 loses edit capability after 
execution.
  After executing the script, the cursor does not appear on the IDE window.
  Highlighting takes place, but no selection can be made either.  If the IDE
  window is minimized and opened again, the cursor functions once more.

  I don't remember having this problem with windows.  OS X testing is
  new.

  thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1606723/+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 1606719] Re: Mac OS 10.11.6 App.open(sysprefs) eventually cannot find app

2016-07-28 Thread Joe White
This resolves the inconsistency I had with my approach in a large script (600+ 
lines)
and solves my problem.

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

Title:
  Mac OS 10.11.6 App.open(sysprefs) eventually cannot find app

Status in Sikuli:
  New

Bug description:
  Sikulix 1.1.0 running on MAC OS 10.11.6
  600+ line script is run in command line mode.  The same function fails the 
second time
  with the following message:

  [error] App.open failed: /Applications/System Preferences.app not
  found

  This is a MAC OS System Preferences app.  It is closed each time it is
  open.  If it is already open, it gets focus.

  The script is trying to install and activate a wireless WPA2
  Enterprise profile and verify it.  Please let me know if there is any
  additional documentation I can provide.

  thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1606719/+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 1606723] [NEW] Mac OS 10.11.6 running Sikulix IDE 1.1.0 loses edit capability after execution

2016-07-26 Thread Joe White
Public bug reported:

Mac OS 10.11.6 running Sikulix IDE 1.1.0 loses edit capability after execution.
After executing the script, the cursor does not appear on the IDE window.
Highlighting takes place, but no selection can be made either.  If the IDE
window is minimized and opened again, the cursor functions once more.

I don't remember having this problem with windows.  OS X testing is new.

thanks

** Affects: sikuli
 Importance: Undecided
 Status: New

** Attachment added: "Test script"
   
https://bugs.launchpad.net/bugs/1606723/+attachment/4707762/+files/test.sikuli.zip

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

Title:
  Mac OS 10.11.6 running Sikulix IDE 1.1.0 loses edit capability after
  execution

Status in Sikuli:
  New

Bug description:
  Mac OS 10.11.6 running Sikulix IDE 1.1.0 loses edit capability after 
execution.
  After executing the script, the cursor does not appear on the IDE window.
  Highlighting takes place, but no selection can be made either.  If the IDE
  window is minimized and opened again, the cursor functions once more.

  I don't remember having this problem with windows.  OS X testing is
  new.

  thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1606723/+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 1606719] [NEW] Mac OS 10.11.6 App.open(sysprefs) eventually cannot find app

2016-07-26 Thread Joe White
Public bug reported:

Sikulix 1.1.0 running on MAC OS 10.11.6
600+ line script is run in command line mode.  The same function fails the 
second time
with the following message:

[error] App.open failed: /Applications/System Preferences.app not found

This is a MAC OS System Preferences app.  It is closed each time it is
open.  If it is already open, it gets focus.

The script is trying to install and activate a wireless WPA2 Enterprise
profile and verify it.  Please let me know if there is any additional
documentation I can provide.

thanks

** Affects: sikuli
 Importance: Undecided
 Status: New

** Attachment added: "Sikuli program"
   
https://bugs.launchpad.net/bugs/1606719/+attachment/4707760/+files/mac10-11-onboard.sikuli.zip

** Description changed:

  600+ line script is run in command line mode.  The same function fails the 
second time
  with the following message:
  
- 
  [error] App.open failed: /Applications/System Preferences.app not found
  
+ This is a MAC OS System Preferences app.  It is closed each time it is
+ open.  If it is already open, it gets focus.
  
- This is a MAC OS System Preferences app.  It is closed each time it is open.
- If it is already open, it gets focus.
- 
- The script is trying to install and activate a wireless WPA2 Enterprise 
profile
- verify it.  Please let me know if there is any additional documentation I can 
provide.
+ The script is trying to install and activate a wireless WPA2 Enterprise
+ profile and verify it.  Please let me know if there is any additional
+ documentation I can provide.
  
  thanks

** Description changed:

+ Sikulix 1.1.0 running on MAC OS 10.11.6
  600+ line script is run in command line mode.  The same function fails the 
second time
  with the following message:
  
  [error] App.open failed: /Applications/System Preferences.app not found
  
  This is a MAC OS System Preferences app.  It is closed each time it is
  open.  If it is already open, it gets focus.
  
  The script is trying to install and activate a wireless WPA2 Enterprise
  profile and verify it.  Please let me know if there is any additional
  documentation I can provide.
  
  thanks

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

Title:
  Mac OS 10.11.6 App.open(sysprefs) eventually cannot find app

Status in Sikuli:
  New

Bug description:
  Sikulix 1.1.0 running on MAC OS 10.11.6
  600+ line script is run in command line mode.  The same function fails the 
second time
  with the following message:

  [error] App.open failed: /Applications/System Preferences.app not
  found

  This is a MAC OS System Preferences app.  It is closed each time it is
  open.  If it is already open, it gets focus.

  The script is trying to install and activate a wireless WPA2
  Enterprise profile and verify it.  Please let me know if there is any
  additional documentation I can provide.

  thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1606719/+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 1362896] [NEW] type(Key.HOME, KeyModifier.SHIFT + KeyModifier.CTRL) fails

2014-08-28 Thread Joe White
Public bug reported:

in 1.0.1 IDE, neither

 type(Key.LEFT, KeyModifier.SHIFT + KeyModifier.CTRL) 
or
 type(Key.HOME, KeyModifier.SHIFT + KeyModifier.CTRL)

behave like CTRL+SHIFT+LEFT or CTRL+SHIFT+HOME (all keys pressed
together) which select text to the left of the cursor in FF, IE, Chrome,
Opera and Safari.  Shouldn't these commands work?  I can do these
manually, but in a script they do not work the same.

thanks
Joe

** Affects: sikuli
 Importance: Undecided
 Status: New

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

Title:
  type(Key.HOME, KeyModifier.SHIFT + KeyModifier.CTRL) fails

Status in Sikuli:
  New

Bug description:
  in 1.0.1 IDE, neither

   type(Key.LEFT, KeyModifier.SHIFT + KeyModifier.CTRL) 
  or
   type(Key.HOME, KeyModifier.SHIFT + KeyModifier.CTRL)

  behave like CTRL+SHIFT+LEFT or CTRL+SHIFT+HOME (all keys pressed
  together) which select text to the left of the cursor in FF, IE,
  Chrome, Opera and Safari.  Shouldn't these commands work?  I can do
  these manually, but in a script they do not work the same.

  thanks
  Joe

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1362896/+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] [Question #195694]: how calculate response time between click and exists

2012-05-02 Thread Joe White
New question #195694 on Sikuli:
https://answers.launchpad.net/sikuli/+question/195694

I'm trying to find a simple way to calculate response times between click() and 
exists().

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