Re: [Sikuli-driver] [Question #677405]: Organizing sikuli scripts into packages.

2019-01-09 Thread RaiMan
Question #677405 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/677405

Status: Open => Answered

RaiMan proposed the following answer:
As long as SikuliX works with .sikuli folders, that contain the .py
script file and the images referenced in that script, there will not be
an easy solution for that.

Your workaround can be made simpler, since the import in a SikuliX script:
(see 
https://sikulix-2014.readthedocs.io/en/latest/scripting.html#importing-other-sikuli-scripts-reuse-code-and-images)
- looks for the script in the folder, the importing script folder is located
- auto-adds the imported .sikuli to the sys.path
- auto-adds the imported .sikuli folder to the imagepath

Be aware: 
since all images are looked-up in the imagepath only with their name (without 
path), you need a naming convention, that avoids name clashes between different 
scripts.

The only way to just use the plain Python module structure is to separate code 
and images. As a consequence you only can use the SikuliX IDE for 
capturing/storing your images and have to use another editor/IDE for your .py 
files (e.g. IntelliJ's PyCharm).
The one or more image-only .sikuli have to be added to the imagepath when 
needed.

I have on the list, to support such module structures in the SikuliX IDE.
But this does not help you currently ;-) and will surely take a few months to 
get ready.

Come back if you run into problems.
In such cases you might contact me directly and send your trials to my mail: 
sikulix---at---outlook---dot---com.

-- 
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 #677412]: after sikulix script completes my mouse clicks do not work right via TightVNC

2019-01-09 Thread RaiMan
Question #677412 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/677412

RaiMan posted a new comment:
should first be a 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


[Sikuli-driver] [Question #677412]: after sikulix script completes my mouse clicks do not work right via TightVNC

2019-01-09 Thread Doug Symes
New question #677412 on Sikuli:
https://answers.launchpad.net/sikuli/+question/677412

I'm launching my jar from java within a windows batch file that is called by 
windows task scheduler.  However, after the scheduled task completes and the 
Windows CMD Prompt closes, then if I try to click on a specific task in Windows 
Tasks list, all the tasks I click on highlight.  Its as if I've anchored the 
first task and am using SHIFT+Click to select several tasks. If I close 
TightVNC and reopen it all is well.  I checked the Keyboard mapping and it is 
the normal US English (0409).  Please advise.

-- 
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 #677412]: after sikulix script completes my mouse clicks do not work right via TightVNC

2019-01-09 Thread RaiMan
Question #677412 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/677412

Status: Open => Needs information

RaiMan requested more information:
So it seems you are using VNCScreen?

Or are you running SikuliX scripts on a remote machine, that is managed
via a TightVNC session?

-- 
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 1811016] Re: after sikulix script completes my mouse clicks do not work right via TightVNC

2019-01-09 Thread RaiMan
should first be a question

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

** Converted to question:
   https://answers.launchpad.net/sikuli/+question/677412

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

Title:
  after sikulix script completes my mouse clicks do not work right via
  TightVNC

Status in Sikuli:
  Invalid

Bug description:
  I'm launching my jar from java within a windows batch file that is
  called by windows task scheduler.  However, after the scheduled task
  completes and the Windows CMD Prompt closes, then if I try to click on
  a specific task in Windows Tasks list, all the tasks I click on
  highlight.  Its as if I've anchored the first task and am using
  SHIFT+Click to select several tasks. If I close TightVNC and reopen it
  all is well.  I checked the Keyboard mapping and it is the normal US
  English (0409).  Please advise.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1811016/+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 #676784]: Automatic press enter after type text when reading lines from a file

2019-01-09 Thread Alexandr
Question #676784 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676784

Status: Answered => Solved

Alexandr confirmed that the question is solved:
Thanks!
This Solved My Problem

-- 
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 #676784]: Automatic press enter after type text when reading lines from a file

2019-01-09 Thread Alexandr
Question #676784 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676784

Alexandr confirmed that the question is solved:
Thanks RaiMan, that solved my 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 #677412]: after sikulix script completes my mouse clicks do not work right via TightVNC

2019-01-09 Thread Doug Symes
Question #677412 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/677412

Status: Needs information => Open

Doug Symes gave more information on the question:
I am running SikuliX scripts on a remote machine, that is managed via a
TightVNC session.

Windows Task Scheduler calls the batch file that has this code:

start /i /b /wait c:\users\biuser\desktop\sikuli\runsikulix -f 
c:\users\biuser\desktop\sikuli\sikuli-log.txt -r 
c:\users\biuser\Documents\QMG_Live.sikuli
findstr /i /g:c:\users\biuser\desktop\sikuli\log_string_search_list.txt 
c:\users\biuser\Desktop\Sikuli\sikuli-log.txt
if %errorlevel% == 0 (
   GOTO SENDMAIL
) ELSE (
   GOTO NOTHING
)
:SENDMAIL
 aws ses send-email --to sikuli-...@qualbe.com --from helpd...@qualbe.com 
--source-arn arn:aws:ses:us-east-1::identity/qualbe.com --subject 
"Data-Mining BI Error" --text "Please login to data-mining.qmg.local and check 
on PBI Desktop to make sure its still running okay.  Look at the log file from 
the automated Sikuli Windows Scheduled Task.  The log is located here:  
c:\users\biuser\Desktop\Sikuli\sikuli-log.txt"
:NOTHING
exit
-- EOF -

1) What do you make of the VNC issue?
2) Is the above batch file a typical use for SikuliX / Acceptable use?

-- 
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 #677412]: after sikulix script completes my mouse clicks do not work right via TightVNC

2019-01-09 Thread RaiMan
Question #677412 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/677412

Status: Open => Answered

RaiMan proposed the following answer:
Ok, I understand:
- there is a SikuliX environment on the remote machine 
- there is a script .sikuli on the remote machine
- also on the remote machine the scriptrun is started via Task Scheduler
- ... and might send an email after termination based on an evaluation of the 
SikuliX log info

--- What do you make of the VNC issue?
the SikuliX run does not know anything about the fact, that you look at the 
remote screen using a VNC session.
Hence your problem does not have anything todo with SikuliX, but maybe with 
your script.

Does the script use the type() feature of SikuliX or even keyUp/keyDown?

--- Is the above batch file a typical use for SikuliX / Acceptable use?
Typical: I do not know. 
Acceptable: yes. From SikuliX's point of view it simply runs on a capable 
machine.

-- 
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 #677302]: Import httplib failing with "cannot import name BlockingIOError"

2019-01-09 Thread RaiMan
Question #677302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/677302

Status: Open => Answered

RaiMan proposed the following answer:
Just tested on my Win 10: works.

delete this folder (seems to be old stuff):
C:\Users\tester\AppData\Roaming\Sikulix\Lib

and try again

-- 
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 #677361]: How do i import python modules into sikuliX script ?

2019-01-09 Thread RaiMan
Question #677361 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/677361

Status: Open => Answered

RaiMan proposed the following answer:
--- advantage in running sikuliX's code in java
if you prefer to program in Java and you have more skills than with Python 
scripting, yes then it might make sense.
The disadvantage: you have to have another concept for capturing/storing/naming 
your images (image path feature)
But you might always use the SikuliX IDE for image handling only and simply put 
the .sikuli folder(s) on the image path.

-- 
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 #677424]: binance Service @8555000311 binance @binance Service phone number

2019-01-09 Thread dsgdsg
New question #677424 on Sikuli:
https://answers.launchpad.net/sikuli/+question/677424

binance Service @8555000311 binance @binance Service phone numberbinance 
Service @8555000311 binance @binance Service phone numberbinance Service 
@8555000311 binance @binance Service phone numberbinance Service @8555000311 
binance @binance Service phone numberbinance Service @8555000311 binance 
@binance Service phone numberbinance Service @8555000311 binance @binance 
Service phone numberbinance Service @8555000311 binance @binance Service phone 
numberbinance Service @8555000311 binance @binance Service phone numberbinance 
Service @8555000311 binance @binance Service phone numberbinance Service 
@8555000311 binance @binance Service phone numberbinance Service @8555000311 
binance @binance Service phone numberbinance Service @8555000311 binance 
@binance Service phone numberbinance Service @8555000311 binance @binance 
Service phone numberbinance Service @8555000311 binance @binance Service phone 
numberbinance Service @8555000311 binance @binance Service phone numberbinance 
Service @8555000311 binance @binance Service phone numberbinance Service 
@8555000311 binance @binance Service phone numberbinance Service @8555000311 
binance @binance Service phone numberbinance Service @8555000311 binance 
@binance Service phone numberbinance Service @8555000311 binance @binance 
Service phone numberbinance Service @8555000311 binance @binance Service phone 
numberbinance Service @8555000311 binance @binance Service phone numberbinance 
Service @8555000311 binance @binance Service phone numberbinance Service 
@8555000311 binance @binance Service phone numberbinance Service @8555000311 
binance @binance Service phone numberbinance Service @8555000311 binance 
@binance Service phone numberbinance Service @8555000311 binance @binance 
Service phone number

-- 
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 #677361]: How do i import python modules into sikuliX script ?

2019-01-09 Thread ONG YI CHONG
Question #677361 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/677361

Status: Answered => Open

ONG YI CHONG is still having a problem:
I am getting another error when i try to use any of the org.opencv
libraries in the sikuliX IDE. Do i need to append sys.path or sth ?

-- 
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 #677361]: How do i import python modules into sikuliX script ?

2019-01-09 Thread ONG YI CHONG
Question #677361 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/677361

ONG YI CHONG gave more information on the question:
import java.lang.System.out as jSysOut
import org.opencv.core.Mat as CVMat
import org.opencv.imgcodecs.Imgcodecs as IC
import org.opencv.highgui.HighGui as HG


print(HG)
print(IC)
## Load image
aMat = CVMat() 

output: 


[error] script [ automateScreenShotV3.0 ] stopped with error in line 11
[error] java.lang.UnsatisfiedLinkError ( java.lang.UnsatisfiedLinkError: 
org.opencv.core.Mat.n_Mat()J )


Im getting an unsatisfied link error when i try to assign aMat() = CVMat()

-- 
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 #677431]: Sikuli v1.1.4 not starting

2019-01-09 Thread Joseph Maruca
New question #677431 on Sikuli:
https://answers.launchpad.net/sikuli/+question/677431

Hi folks,

I recently downloaded Sikuli v1.1.4 for Windows 10 x64 (was using v1.1.3 IDE).  
When selecting - Siulix.jar, the following message appears:

Neither Jython nor JRuby available
IDE not yet useable with JavaScript only
Please consult the docs for a solution

I downloaded and installed both Jython and JRuby; restarted and the same 
message appears!

Can you please assist?, thank you.  regards, Joe

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