Re: [Sikuli-driver] [Question #700621]: Extracting availability from calendar image

2022-02-18 Thread Mike
Question #700621 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/700621 Mike proposed the following answer: @ RaiMan Just checked that and - yes - it gives you numbers for a location. What more could you wish for? I suggest it would be good to add that to the documentation

Re: [Sikuli-driver] [Question #700621]: Extracting availability from calendar image

2022-02-18 Thread Mike
Question #700621 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/700621 Mike posted a new comment: SikuliX looks for images which could be anywhere. You are not really looking for images but rather the absence of something ie text and coloured backgrounds. Your application

Re: [Sikuli-driver] [Question #698529]: Do.popup() returns incorrectly

2021-08-28 Thread Mike
Question #698529 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698529 Mike posted a new comment: Thanks for investigating. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX

Re: [Sikuli-driver] [Question #698529]: Do.popup() returns incorrectly

2021-08-27 Thread Mike
Question #698529 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698529 Mike gave more information on the question: My last comment was, for clarity, using your code. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX

Re: [Sikuli-driver] [Question #698529]: Do.popup() returns incorrectly

2021-08-27 Thread Mike
Question #698529 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698529 Status: Answered => Open Mike is still having a problem: Tried it with the mouse stationery, constantly moving, clicking the mouse, pressing keys. It is running on two screens. I tried runn

[Sikuli-driver] [Question #698529]: Do.popup() returns incorrectly

2021-08-26 Thread Mike
New question #698529 on SikuliX: https://answers.launchpad.net/sikuli/+question/698529 This code displays the mouse position until OK is pressed: def locationDisplay(): lcount = 0 while True: lcount+=1 mouseposition = Mouse.at() print mouseposition mslx =

Re: [Sikuli-driver] [Question #696723]: Exception in thread "Thread-45" (SX 2.05 on Java 8)

2021-04-23 Thread Mike Praeuner
Question #696723 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696723 Mike Praeuner posted a new comment: I may have made a boneheaded mistake somewhere, been a few years since I upgraded / re-worked my scripts Troubleshooting now (between my dev machine and production

Re: [Sikuli-driver] [Question #696723]: Exception in thread "Thread-45" (SX 2.05 on Java 8)

2021-04-23 Thread Mike Praeuner
Question #696723 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696723 Description changed to: #My Script *(simple) myScriptPath = "D:\\MikE\\Sikuli Scripts" addImportPath(myScriptPath) import ldFunc #from ldFunc import * #v1.1.4 syntax ldFunc.hunt() #hunt()

[Sikuli-driver] [Question #696723]: Exception in thread "Thread-45" (SX 2.05 on Java 8)

2021-04-23 Thread Mike Praeuner
New question #696723 on SikuliX: https://answers.launchpad.net/sikuli/+question/696723 #My Script *(simple) myScriptPath = "D:\\MikE\\Sikuli Scripts" addImportPath(myScriptPath) import ldFunc #from ldFunc import * #v1.1.4 syntax ldFunc.hunt() #hunt() from sikuli import * (th

Re: [Sikuli-driver] [Question #688038]: buttons in interface

2020-01-27 Thread Mike
Question #688038 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688038 Mike posted a new comment: Raiman, where are you documenting 2.1.0? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #685902]: Notepad file name *.properties attribute change dynamically

2019-11-17 Thread Mike
Question #685902 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/685902 Mike posted a new comment: To add to Raiman's point, if you don't specifically want to use surface automation (as with Sikulix) there are many API or Windows based libraries you can use to automate things

Re: [Sikuli-driver] [Question #685902]: Notepad file name *.properties attribute change dynamically

2019-11-16 Thread Mike
Question #685902 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/685902 Status: Open => Answered Mike proposed the following answer: Sikulix's special claim to fame is it scripts visual interfaces. So you need to choose visual interfaces. So the first thing is to

[Sikuli-driver] [Question #683910]: System Requirements for SikuliX

2019-09-13 Thread Mike Praeuner
New question #683910 on Sikuli: https://answers.launchpad.net/sikuli/+question/683910 I found these system requirements (google) are they still current - Windows XP and later, including Windows 8 and 10 (32-bit and 64-bit). - Linux/UNIX systems, depending on what prerequisites are available

Re: [Sikuli-driver] [Question #683826]: SikuliX on Linux Mint launch scrcpy from SikuliX script

2019-09-13 Thread Mike Praeuner
Question #683826 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683826 Status: Answered => Solved Mike Praeuner confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Driv

Re: [Sikuli-driver] [Question #683826]: SikuliX on Linux Mint launch scrcpy from SikuliX script

2019-09-12 Thread Mike Praeuner
Question #683826 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683826 Mike Praeuner posted a new comment: That got me going in the right direction! I ended up using: app = App.run('gnome-terminal -e "scrcpy -S" &') #app.open(5) #reg

Re: [Sikuli-driver] [Question #683826]: SikuliX on Linux Mint launch scrcpy from SikuliX script

2019-09-10 Thread Mike Praeuner
Question #683826 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683826 Description changed to: So I decided to migrate my SikuliX and scripts from my main system (W10) to an older computer (Linux Mint) The Mint system has SikuliX latest version, with IDE functional (+

Re: [Sikuli-driver] [Question #683826]: SikuliX on Linux Mint launch scrcpy from SikuliX script

2019-09-10 Thread Mike Praeuner
Question #683826 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683826 Description changed to: So I decided to migrate my SikuliX and scripts from my main system (W10) to an older computer (Linux Mint) The Mint system has SikuliX latest version, with IDE functional (+

Re: [Sikuli-driver] [Question #683826]: SikuliX on Linux Mint launch scrcpy from SikuliX script

2019-09-10 Thread Mike Praeuner
Question #683826 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683826 Description changed to: So I decided to migrate my SikuliX and scripts from my main system (W10) to an older computer (Linux Mint) The Mint system has SikuliX latest version, with IDE functional (+

Re: [Sikuli-driver] [Question #683826]: SikuliX on Linux Mint launch scrcpy from SikuliX script

2019-09-10 Thread Mike Praeuner
Question #683826 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683826 Description changed to: So I decided to migrate my SikuliX and scripts from my main system (W10) to an older computer (Linux Mint) The Mint system has SikuliX latest version, with IDE functional (+

Re: [Sikuli-driver] [Question #683826]: SikuliX on Linux Mint launch scrcpy from SikuliX script

2019-09-10 Thread Mike Praeuner
Question #683826 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683826 Description changed to: So I decided to migrate my SikuliX and scripts from my main system (W10) to an older computer (Linux Mint) The Mint system has SikuliX latest version, with IDE functional (+

Re: [Sikuli-driver] [Question #683826]: SikuliX on Linux Mint launch scrcpy from SikuliX script

2019-09-10 Thread Mike Praeuner
Question #683826 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683826 Description changed to: So I decided to migrate my SikuliX and scripts from my main system (W10) to an older computer (Linux Mint) The Mint system has SikuliX latest version, with IDE functional (+

Re: [Sikuli-driver] [Question #683826]: SikuliX on Linux Mint launch scrcpy from SikuliX script

2019-09-10 Thread Mike Praeuner
Question #683826 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683826 Summary changed to: SikuliX on Linux Mint launch scrcpy from SikuliX script -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #683826]: SikuliX on Linux Mint launch program from script

2019-09-10 Thread Mike Praeuner
Question #683826 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683826 Description changed to: So I decided to migrate my SikuliX and scripts from my main system (W10) to an older computer (Linux Mint) The Mint system has SikuliX latest version, with IDE functional (+

Re: [Sikuli-driver] [Question #683826]: SikuliX on Linux Mint launch program from script

2019-09-10 Thread Mike Praeuner
Question #683826 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683826 Summary changed to: SikuliX on Linux Mint launch program from script Description changed to: So I decided to move my SikuliX from my main system (W10) to an older computer (Linux Mint) The Mint system

[Sikuli-driver] [Question #683826]: SikuliX on Linux Mint launch program

2019-09-10 Thread Mike Praeuner
New question #683826 on Sikuli: https://answers.launchpad.net/sikuli/+question/683826 So I decided to move my SikuliX from my main system (W10) to an older computer (Linux Mint) The Mint system has SikuliX latest version, with IDE functional Because it is a older system instead of

Re: [Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-27 Thread Mike Praeuner
Question #683302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683302 Mike Praeuner 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

Re: [Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-27 Thread Mike Praeuner
Question #683302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683302 Status: Answered => Solved Mike Praeuner confirmed that the question is solved: Everything seems to be working, moved to primary library and running main scripts now on latest version. Will flush l

Re: [Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-27 Thread Mike Praeuner
Question #683302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683302 Mike Praeuner posted a new comment: Success! D:\MikE\Sikuli_1.1.4_377>java -jar sikulix.jar -v -r "d:\mike\Sikuli Scripts\test3" [DEBUG]startUp: IDE: Running: D:\MikE\Sikuli_1.1.4_377\sikul

Re: [Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-26 Thread Mike Praeuner
Question #683302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683302 Mike Praeuner posted a new comment: C:\Users\Eris\Desktop>java -version java version "1.8.0_221" Java(TM) SE Runtime Environment (build 1.8.0_221-b11) Java HotSpot(TM) 64-Bit Server VM (bui

Re: [Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-25 Thread Mike Praeuner
Question #683302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683302 Mike Praeuner posted a new comment: Rest well, appreciate the assistance! -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-25 Thread Mike Praeuner
Question #683302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683302 Mike Praeuner posted a new comment: Microsoft Windows [Version 10.0.18362.295] (c) 2019 Microsoft Corporation. All rights reserved. eris@GIGANTOR-REBORN D:\MikE\Sikuli Scripts\test3.sikuli>dir Vol

Re: [Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-25 Thread Mike Praeuner
Question #683302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683302 Mike Praeuner posted a new comment: I can post the contents of test3.py if you think that would help - I did a clean install of W10 a few months ago and while build 288 is working maybe I am missing

Re: [Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-25 Thread Mike Praeuner
Question #683302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683302 Mike Praeuner posted a new comment: so I checked all (3) D:\MikE\Sikuli Scripts\test3.sikuli # contains test3.py # contains 1566693881873.png D:\MikE\Sikuli Scripts\test2.sikuli # contains test2.py

Re: [Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-25 Thread Mike Praeuner
the JScreen error discussed here: https://bugs.launchpad.net/sikuli/+bug/1835099 my Launch command options I have tried: (from here: http://doc.sikuli.org/faq/010-command-line.html ) java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -r "d:\mike\Sikuli Scripts\Test1.sikul

Re: [Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-25 Thread Mike Praeuner
Question #683302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683302 Mike Praeuner posted a new comment: ##the contents of test3 (only 3 lines, nothing extra) popup("Hello World!\nHave fun with Sikuli!") #simple test type(Key.ESC, KeyModifier.CTRL) #Win Start

Re: [Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-25 Thread Mike Praeuner
Question #683302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683302 Mike Praeuner posted a new comment: # updated results java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -v -r "D:\MikE\Sikuli Scripts\" Test1.sikuli" [DEBUG]startUp: IDE

Re: [Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-25 Thread Mike Praeuner
Question #683302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/683302 Mike Praeuner posted a new comment: #Here is the output from -v #I will look at your other recommendations here shortly - thanks! C:\Users\Eris\Desktop>java -jar "D:\MikE\Sikuli 1.1.4 August

Re: [Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-24 Thread Mike Praeuner
Launch command options I have tried: (from here: http://doc.sikuli.org/faq/010-command-line.html ) java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -r "d:\mike\Sikuli Scripts\Test1.sikuli" java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -r

Re: [Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-24 Thread Mike Praeuner
Launch command options I have tried: (from here: http://doc.sikuli.org/faq/010-command-line.html ) java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -r "d:\mike\Sikuli Scripts\Test1.sikuli" java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -r

[Sikuli-driver] [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

2019-08-24 Thread Mike Praeuner
tried: (from here: http://doc.sikuli.org/faq/010-command-line.html ) java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -r "d:\mike\Sikuli Scripts\Test1.sikuli" java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -r "d:\mike\Sikuli Scri

[Sikuli-driver] [Bug 1835099] Re: Exception in thread "main" Traceback

2019-07-02 Thread Mike Praeuner
C:\Users\Eris\Dropbox\SikuliLogs\Collect.log" ( echo echo %date%-%time% echo echo collect1 java -jar &

[Sikuli-driver] [Bug 1835099] Re: Exception in thread "main" Traceback

2019-07-02 Thread Mike Praeuner
echo %date%-%time% echo echo collect1 java -jar "d:\MikE\sikulix.jar" -r "d:\mike\Sikuli Scripts\Collect1" ) Error: Exception in thread "main" Traceback (most recent call

[Sikuli-driver] [Bug 1835099] [NEW] Exception in thread "main" Traceback

2019-07-02 Thread Mike Praeuner
\Users\Eris\Dropbox\SikuliLogs\Collect.log" ( echo echo %date%-%time% echo echo collect1 java -jar "d:\Mi

Re: [Sikuli-driver] [Question #680879]: Command Line Options / Logfile

2019-05-17 Thread Mike Praeuner
Question #680879 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680879 Status: Needs information => Solved Mike Praeuner confirmed that the question is solved: still experimenting but this is my current solution (solved) --batch file-- @echo off set starttime=%TIME%

Re: [Sikuli-driver] [Question #680879]: Command Line Options / Logfile

2019-05-16 Thread Mike Praeuner
Question #680879 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680879 Mike Praeuner posted a new comment: Found this https://bugs.launchpad.net/sikuli/+bug/1486873 Using this: Debug.setLogFile("D:\\Mike\\Sikuli Scripts\\testfunction.log") I get a file created f

Re: [Sikuli-driver] [Question #680879]: Command Line Options / Logfile

2019-05-16 Thread Mike Praeuner
Question #680879 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680879 Description changed to: Starting Here: https://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html from a batch file I am running java -jar "d:\MikE\sikulix.jar" -r "d:\mike

Re: [Sikuli-driver] [Question #680879]: Command Line Options / Logfile

2019-05-16 Thread Mike Praeuner
Question #680879 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680879 Description changed to: Starting Here: https://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html from a batch file I am running java -jar "d:\MikE\sikulix.jar" -r "d:\mike

[Sikuli-driver] [Question #680879]: Command Line Options / Logfile

2019-05-16 Thread Mike Praeuner
New question #680879 on Sikuli: https://answers.launchpad.net/sikuli/+question/680879 Starting Here: https://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html from a batch file I am running java -jar "d:\MikE\sikulix.jar" -r "d:\mike\Sikuli Scripts\ErisEvE"

Re: [Sikuli-driver] [Question #680702]: Import Question

2019-05-09 Thread Mike Praeuner
Question #680702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680702 Status: Answered => Solved Mike Praeuner confirmed that the question is solved: on very first run I was told I needed jython, so I grabbed that file (+ ruby) and have not gotten any messages or s

Re: [Sikuli-driver] [Question #680702]: Import Question

2019-05-09 Thread Mike Praeuner
Question #680702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680702 Mike Praeuner posted a new comment: I tried to setup 1.1.4 - but having issues (win10) will try again later when I have more time to troubleshoot (1.1.3 is installed) when I launch (1.1.4) sikulix.jar

[Sikuli-driver] [Question #680702]: Import Question

2019-05-08 Thread Mike Praeuner
path containing your stuff - choose your own naming # on Windows myScriptPath = "D:\\MikE\\Sikuli Scripts" # all systems (avoids double entries in sys.path) addImportPath(myScriptPath) # supposing there is a testpad2.sikuli import testpad2 reload(testpad2) from testpad2 import * setShowActions (T

Re: [Sikuli-driver] [Question #680383]: hopefully (2) easy questions (region.focus & code consolidation)

2019-04-23 Thread Mike Praeuner
Question #680383 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680383 Mike Praeuner 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

Re: [Sikuli-driver] [Question #680383]: hopefully (2) easy questions (region.focus & code consolidation)

2019-04-23 Thread Mike Praeuner
Question #680383 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680383 Status: Answered => Solved Mike Praeuner confirmed that the question is solved: thank you - my knowledge now surpasses my skill - so I will go experiment and practice for a bit I "get"

Re: [Sikuli-driver] [Question #680383]: hopefully (2) easy questions (region.focus & code consolidation)

2019-04-23 Thread Mike Praeuner
Question #680383 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680383 Mike Praeuner posted a new comment: https://www.geeksforgeeks.org/functions-in-python/ -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #680383]: hopefully (2) easy questions (region.focus & code consolidation)

2019-04-23 Thread Mike Praeuner
Question #680383 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680383 Mike Praeuner posted a new comment: ...or am I still thinking about this wrong (structure) and I should be "storing" the do stuff / action and "calling" it when needed? nOOb - thank

Re: [Sikuli-driver] [Question #680383]: hopefully (2) easy questions (region.focus & code consolidation)

2019-04-23 Thread Mike Praeuner
Question #680383 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680383 Mike Praeuner posted a new comment: clarification / correction this: Select Account perform action on account do stuff to: Select next account (1-5 possible) Exit

Re: [Sikuli-driver] [Question #680383]: hopefully (2) easy questions (region.focus & code consolidation)

2019-04-23 Thread Mike Praeuner
Question #680383 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680383 Mike Praeuner posted a new comment: Thank You RaiMan - I appreciate your patience & response. I will make the suggested corrections for second question...to structure a loop? My normal sequence is

Re: [Sikuli-driver] [Question #680383]: hopefully (2) easy questions (region.focus & code consolidation)

2019-04-22 Thread Mike Praeuner
Question #680383 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680383 Mike Praeuner gave more information on the question: I am currently reading up on Python Loops... https://www.geeksforgeeks.org/loops-in-python/ Just need to wrap my head around how to implement / structure

Re: [Sikuli-driver] [Question #680383]: hopefully (2) easy questions (region.focus & code consolidation)

2019-04-22 Thread Mike Praeuner
Question #680383 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680383 Description changed to: First question: I am using app.open (to launch Nox) then app.focus (to go to the "Nox Player" window) How do I set the region to the Nox window (only one window open)? #sample code

Re: [Sikuli-driver] [Question #680383]: hopefully (2) easy questions (region.focus & code consolidation)

2019-04-22 Thread Mike Praeuner
Question #680383 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680383 Description changed to: First question: I am using app.open (to launch Nox) then app.focus (to go to the "Nox Player" window) How do I set the region to the Nox window (only one window open)? Second

[Sikuli-driver] [Question #680383]: hopefully (2) easy questions (region.focus & code consolidation)

2019-04-22 Thread Mike Praeuner
New question #680383 on Sikuli: https://answers.launchpad.net/sikuli/+question/680383 First question: I am using app.open (to launch Nox) then app.focus (to go to the "Nox Player" window) How do I set the region to the Nox window (only one window open)? Second question: I have my first sikuli

Re: [Sikuli-driver] [Question #679692]: TextRecognizer.doOCR() not giving Expected output

2019-04-01 Thread Mike
Question #679692 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679692 Mike requested more information: If you are using OCR on a web page, how do you know when you've got 300 DPI? -- You received this question notification because your team Sikuli Drivers is an answer

Re: [Sikuli-driver] [Question #679113]: showMonitors() – what does "None" mean?

2019-03-12 Thread Mike
Question #679113 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679113 Mike posted a new comment: In Windows 10 showMonitors() does not produce 'none'. However the function does have a return value of None. I couldn't find this in the documentation by the way. -- You

Re: [Sikuli-driver] [Question #679012]: send email when script stops at error or finishes

2019-03-07 Thread Mike
Question #679012 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679012 Mike posted a new comment: I've not done this personally. You can read about RobotFramework here: sikulix-2014.readthedocs.io/en/latest/scenarios.html Command line switches which might help you capture

Re: [Sikuli-driver] [Question #679003]: [1.1.4] IDE: OCR Tuning

2019-03-07 Thread Mike
Question #679003 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679003 Mike posted a new comment: Actually you can get to the Menu dialogue using SHIFT F10 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #679016]: Feature Request: Key Constant: Menu

2019-03-07 Thread Mike
Question #679016 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679016 Mike gave more information on the question: Just tried SHIFT F10 and that worked in Explorer so maybe MENU is not so important -- You received this question notification because your team Sikuli Drivers

Re: [Sikuli-driver] [Question #679016]: Feature Request: Key Constant: Menu

2019-03-07 Thread Mike
Question #679016 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679016 Mike gave more information on the question: >From Wikipedia: Programmers using the Windows API can intercept this key by looking for a WM_KEYDOWN message with wParam VK_APPS (defined as 0x5D in winuse

[Sikuli-driver] [Question #679016]: Feature Request: Key Constant: Menu

2019-03-07 Thread Mike
New question #679016 on Sikuli: https://answers.launchpad.net/sikuli/+question/679016 Could we have a Key Constant for the Windows Menu key? Or, if not, can we call Key with a value? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #679003]: [1.1.4] IDE: OCR Tuning

2019-03-07 Thread Mike
Question #679003 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679003 Mike proposed the following answer: In Windows Explorer you can Copy Path. Your script can then read the file path using : pth = Env.getClipboard() You can then manipulate the string in python. Note

Re: [Sikuli-driver] [Question #679012]: send email when script stops at error or finishes

2019-03-06 Thread Mike
Question #679012 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/679012 Mike posted a new comment: Remember Sikulix is a framework for scripting visual interfaces rather than APIs. So rather than trying to use something like smtplib (which doesn't seem to work anyway) why

Re: [Sikuli-driver] [Question #678936]: mouseMove to an absolute position on screen

2019-03-05 Thread Mike
Question #678936 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678936 Status: Open => Answered Mike proposed the following answer: I'm strictly Windows but normally you would do something like: type("4", Key.SHIFT + Key.CMD) -- You received this question

Re: [Sikuli-driver] [Question #678936]: mouseMove to an absolute position on screen

2019-03-04 Thread Mike
Question #678936 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678936 Mike posted a new comment: More apologies: I see now it works for Take Screenshot ie an image. That makes sense. For a region or location there is no find involved so no lastMatch. For an image there must

Re: [Sikuli-driver] [Question #678936]: mouseMove to an absolute position on screen

2019-03-04 Thread Mike
Question #678936 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678936 Mike posted a new comment: Apologies Marc, I just tested that code again and it doesn't work on Windows 10 now. It's fine with a region but a location or an image give something like this: [error

Re: [Sikuli-driver] [Question #678936]: mouseMove to an absolute position on screen

2019-03-04 Thread Mike
Question #678936 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678936 Mike posted a new comment: Marc, you can control the mouse in different ways. For example this code moves the mouse to a location and after a while clicks on that screen position. hover(Location(1308, 821

Re: [Sikuli-driver] [Question #678936]: mouseMove to an absolute position on screen

2019-03-04 Thread Mike
Question #678936 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678936 Mike posted a new comment: Also : do you need to actually move the mouse? If for example you want to click on something, Sikulix will move the mouse for you in order to perform the click action. -- You

Re: [Sikuli-driver] [Question #678851]: XLSX Handling in Sikuli

2019-02-28 Thread Mike
Question #678851 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678851 Mike posted a new comment: It is an interesting point of discussion. I would guess that openPyXL doesn't do anything that the Excel UI doesn't. As Sikulix can use all the power of the UI then openPyXL

Re: [Sikuli-driver] [Question #678851]: XLSX Handling in Sikuli

2019-02-28 Thread Mike
Question #678851 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678851 Mike posted a new comment: New versions of Excel have enhanced keyboard control. You press ALT and it reveals loads of opportunities. Below is Office 365 on Windows 10. #Create an xlsx copy of an xls

Re: [Sikuli-driver] [Question #678844]: switchApp() is no longer functional

2019-02-28 Thread Mike
Question #678844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678844 Mike posted a new comment: On Windows 10 Build #211, with a copy of calc.exe in the Sikuli directory, the following code starts the calc application: switchApp("calc.exe") or a1 = openApp

[Sikuli-driver] [Bug 1817556] Re: [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to another screen --- fixed 2019-02-26 build# 211

2019-02-27 Thread Mike
I'm only too pleased to be able to help. The impression I get is you maintain Sikulix almost single-handed and that must involve a lot of work. It would be better if the workload could be spread a bit more. I am currently just a Sikulix beginner but will try and make more contributions as my

[Sikuli-driver] [Bug 1817556] Re: [1.1.4] IDE: Toolbar buttons: crash if capture selection is drawn to another screen --- fixed 2019-02-26 build# 211

2019-02-26 Thread Mike
Testing for Take Screenshot: - press a toolbar button with a capture/selection feature - all monitors should show a read frame and the capture/selection text >>> Passed - pressing the mouse on one of the monitors will - will still show frame and text on this monitor >>> Failed: As soon as you

Re: [Sikuli-driver] [Question #678739]: IDE Offset Button

2019-02-25 Thread Mike
Question #678739 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678739 Mike posted a new comment: If I start a region capture on Screen(0) and drag the mouse onto Screen(1) I get: Exception in thread "AWT-EventQueue-0" java.awt.image.RasterFormatException: (

Re: [Sikuli-driver] [Question #678739]: IDE Offset Button

2019-02-25 Thread Mike
Question #678739 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678739 Mike posted a new comment: Hi Raiman - completely different: was like: Region(1125,501,156,93).asOffset, now a simple: Offset(156,93). I tried a few permutations and it worked spot on (Windows 10

Re: [Sikuli-driver] [Question #678739]: IDE Offset Button

2019-02-25 Thread Mike
Question #678739 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678739 Mike posted a new comment: It looks to me as though no matter how you draw the rectangle, it will always produce a top-left to bottom-right offset, so for offsets that are to the left, or above the starting

Re: [Sikuli-driver] [Question #678740]: IDE Show/Show in Buttons

2019-02-23 Thread Mike
Question #678740 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678740 Mike posted a new comment: Thanks for your help, guys. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #678739]: IDE Offset Button

2019-02-23 Thread Mike
Question #678739 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678739 Mike posted a new comment: (Sorry - my response overlapped with yours ) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #678739]: IDE Offset Button

2019-02-23 Thread Mike
Question #678739 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678739 Status: Answered => Solved Mike confirmed that the question is solved: OK - I think I've got an idea of what this is. It actually produces a location that you can therefore feed in as an off

Re: [Sikuli-driver] [Question #678739]: IDE Offset Button

2019-02-23 Thread Mike
Question #678739 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678739 Status: Answered => Open Mike is still having a problem: I can get this to work: r2 = Region(100,100,300,300).offset(500,500) However your code gave me: [error] Error caused by: Traceback (m

Re: [Sikuli-driver] [Question #678740]: IDE Show/Show in Buttons

2019-02-22 Thread Mike
Question #678740 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678740 Status: Answered => Open Mike is still having a problem: Thanks Masuo. If I put the cursor on the start of a line with an image, then it will highlight the image region. That seems to duplic

[Sikuli-driver] [Question #678740]: IDE Show/Show in Buttons

2019-02-22 Thread Mike
New question #678740 on Sikuli: https://answers.launchpad.net/sikuli/+question/678740 When I press the Show or Show in buttons I get a dialogue box saying 'Nothing to show' What are the Show and Show in buttons for? -- You received this question notification because your team Sikuli Drivers

[Sikuli-driver] [Question #678739]: IDE Offset Button

2019-02-22 Thread Mike
New question #678739 on Sikuli: https://answers.launchpad.net/sikuli/+question/678739 If I press the Offset button I get some code like: Region(1113,792,254,205).asOffset() Where is .asOffset documented? What is the Offset button for? -- You received this question notification because your

Re: [Sikuli-driver] [Question #678481]: App instance changed in 1.1.4 compared to 1.1.2?

2019-02-12 Thread Mike
Question #678481 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678481 Mike requested more information: I can't find App.logOn() in the documentation. Can you suggest where we should look for details? -- You received this question notification because your team Sikuli Drivers

Re: [Sikuli-driver] [Question #678368]: SIkuli Javadoc Version Mismatch 1.1.4

2019-02-05 Thread Mike
Question #678368 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678368 Mike posted a new comment: Dirk, what do you mean by 'very wired framework'? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #678173]: write contents in xlsx

2019-01-31 Thread Mike
Question #678173 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678173 Mike requested more information: Is there documenatation, or any command, that lists what packages are bundled? -- You received this question notification because your team Sikuli Drivers is an answer

Re: [Sikuli-driver] [Question #676846]: i have problem when i try to run my script

2018-12-17 Thread Mike
Question #676846 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676846 Mike posted a new comment: runscript feature ;) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #676735]: Chrome: recent changes --- most of my test-pictures no longer useable

2018-12-11 Thread Mike
Question #676735 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676735 Mike posted a new comment: I know we don't know what your applications involve but 800 pictures seems an awful lot. SikuliX examples tend to look for an icon or panel or box etc then look for another one

Re: [Sikuli-driver] [Question #676735]: recent changes to Chrome broke most all of my tests

2018-12-11 Thread Mike
Question #676735 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676735 Mike posted a new comment: I know it doesn't help but I believe it is Open CV that 'sees the pictures'. Tesseract is used for OCR. Your question however is very interesting. It can be re-phrased as "Ho

Re: [Sikuli-driver] [Question #676721]: Support for Python 3? --- SikuliX uses Jython 2.7 - no version 3 in near future

2018-12-10 Thread Mike
Question #676721 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676721 Mike posted a new comment: You could have a look at Lackey. This aims to emulate SikuliX. With just a brief glance I couldn't see which versions of Python it supports, but you could be... lucky with Lackey

Re: [Sikuli-driver] [Question #676498]: Copy a text after a search

2018-12-02 Thread Mike
Question #676498 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676498 Status: Open => Needs information Mike requested more information: I guess what you are saying is you find X but it is not in a field that you can copy and paste. So you want to track forwa

Re: [Sikuli-driver] [Question #676498]: Copy a text after a search

2018-12-01 Thread Mike
Question #676498 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/676498 Mike posted a new comment: If you know how to do it in Excel, then why not Cntl-C the contents of the field in which found the search string and Cntl-V the text into Excel?. You can then decide how much

[Sikuli-driver] [Question #676495]: What limits program size?

2018-11-30 Thread Mike
New question #676495 on Sikuli: https://answers.launchpad.net/sikuli/+question/676495 Charliedaps raised this question: I am under windows 7 and I created a file that contains 1500 lines. It works perfectly but if I add lines, it does not work anymore. He added In fact, I do not have an error

  1   2   3   >