Re: [Sikuli-driver] [Question #702351]: Reading image text

2022-07-13 Thread Ben Dix
Question #702351 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/702351 Ben Dix posted a new comment: hi, i also had some trouble. I get much better results using a whitelist for letters and numbers. this was how I setup my whitelist on Mac, added "." and "x&

Re: [Sikuli-driver] [Question #700787]: focus application based on pid

2022-03-17 Thread Ben Dix
Question #700787 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/700787 Ben Dix posted a new comment: Hey  maybe cmdow can help you. I am using this additional cmd too to resize, activate, hide and arrange windows of any application on win10. in Sikuli IDE i am using

Re: [Sikuli-driver] [Question #700597]: RepeatableFind.setShouldStop error

2022-02-12 Thread Ben Dix
Question #700597 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/700597 Ben Dix posted a new comment: hey RaiMan  for all my waitBestList actions I am using a "special" click def. it is workin fine, except these few times it stops with the error mentioned above. t

[Sikuli-driver] [Question #700597]: RepeatableFind.setShouldStop error

2022-02-12 Thread Ben Dix
New question #700597 on SikuliX: https://answers.launchpad.net/sikuli/+question/700597 Hey Folks, getting an error, not always, only sometimes: [error] script [ Start ] stopped with error in line 129 [error] java.lang.NullPointerException ( java.lang.NullPointerException: Cannot invoke

Re: [Sikuli-driver] [Question #700207]: extend list for use with waitBestList

2022-01-13 Thread Ben Dix
Question #700207 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/700207 Status: Open => Solved Ben Dix confirmed that the question is solved: forget about it  working fine with .extend... I found what I did wrong. -- You received this question notification beca

[Sikuli-driver] [Question #700207]: extend list for use with waitBestList

2022-01-13 Thread Ben Dix
New question #700207 on SikuliX: https://answers.launchpad.net/sikuli/+question/700207 Hey Folks, I am using a lot of lists like: list_buttons_green = ["image1.png","image2.png"] list_buttons_yellow = ["image3.png","image4.png"] using them inside my script by: match_ list_buttons_green =

[Sikuli-driver] [Question #697768]: oberserveInBackground question

2021-06-29 Thread Ben Dix
New question #697768 on SikuliX: https://answers.launchpad.net/sikuli/+question/697768 Hey, I am trying to use the observeInBackground() function to react, if a notification pops up. I red all the documentation, but looks like I can not find how to use this in subthread while my script is

Re: [Sikuli-driver] [Question #697681]: select all text and copy to clipboard

2021-06-29 Thread Ben Dix
Question #697681 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697681 Status: Answered => Solved Ben Dix confirmed that the question is solved: thx RaiMan  I can go on using the images to select all code of this window  -- You received this question notificat

Re: [Sikuli-driver] [Question #697681]: select all text and copy to clipboard

2021-06-24 Thread Ben Dix
Question #697681 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697681 Ben Dix posted a new comment: I start sikuli by executing cmd command java -jar ...\sikulixide-2.0.5.jar -c the cmd window , that stays in the background and that prints all my output is my so called java

Re: [Sikuli-driver] [Question #697681]: select all text and copy to clipboard

2021-06-24 Thread Ben Dix
Question #697681 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697681 Ben Dix posted a new comment: Hey RaiMan, thx for your reply. I am on Mac AND Win  It is working fine on Mac, looks like it is something about the java console in win. Feels like the java output console

[Sikuli-driver] [Question #697681]: select all text and copy to clipboard

2021-06-24 Thread Ben Dix
New question #697681 on SikuliX: https://answers.launchpad.net/sikuli/+question/697681 Hey Folks, at the end of my script, my console output must be saved to a txt file. right now I solved this by clicking on the top left of the java window, finding the buttons by images to do so. The filename

Re: [Sikuli-driver] [Question #697208]: I need to show a permanent "log" windows on top

2021-05-25 Thread Ben Dix
Question #697208 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697208 Ben Dix posted a new comment: I am using the console output . works fine for me on win10. for editing I start Sikuli using: java -jar D:\pathToSikuli\sikulixide-2.0.5.jar -c for running my script I use

Re: [Sikuli-driver] [Question #697175]: passing string to shell using runscript

2021-05-21 Thread Ben Dix
Question #697175 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697175 Ben Dix posted a new comment: lovley  thx Manfred and RainMan! I am really thankful for your support! I'll try as soon as possible! greetings! -- You received this question notification because your

Re: [Sikuli-driver] [Question #697175]: passing string to shell using runscript

2021-05-21 Thread Ben Dix
Question #697175 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697175 Summary changed to: passing string to shell using runscript -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX.

[Sikuli-driver] [Question #697175]: passing string to shell using unscript

2021-05-21 Thread Ben Dix
New question #697175 on SikuliX: https://answers.launchpad.net/sikuli/+question/697175 Hey  I am trying to send a mail using this code: def start_user(): print('sending mail to user') mail_sending = """ powershell $EmailFrom = "i...@info.com" $EmailTo = "m...@info.com"

Re: [Sikuli-driver] [Question #697117]: store captured image as variable into a py file

2021-05-18 Thread Ben Dix
Question #697117 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697117 Status: Answered => Solved Ben Dix confirmed that the question is solved: Thx RainMan  -- You received this question notification because your team Sikuli Drivers is an answer contact for Siku

Re: [Sikuli-driver] [Question #697117]: store captured image as variable into a py file

2021-05-18 Thread Ben Dix
Question #697117 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697117 Ben Dix posted a new comment: yeah, I got it how to rename the file  fyi import os a = "name" capture(Region(99,90,133,119),a) os.rename(r'/Users/MYNAME/Desktop/Sikulix/scripts/AAA

[Sikuli-driver] [Question #697117]: store captured image as variable into a py file

2021-05-18 Thread Ben Dix
New question #697117 on SikuliX: https://answers.launchpad.net/sikuli/+question/697117 Hey Folks, capture() works fine with the "_" in front of the name. I've seen in another post this happens to be sure, it will not bei deleted in further progress. I am trying to achieve a few captures by

Re: [Sikuli-driver] [Question #695823]: [2.0.5] IDE: macOS: runScript: [error] ImagePath: find: not there: xxx.png

2021-03-07 Thread Ben Dix
Question #695823 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695823 Ben Dix posted a new comment: Even on Sunday  I am using my MacBook Pro for testing right now and rebuilding my whole script. Now I am using only one main script, import only two Sikuli files, one

Re: [Sikuli-driver] [Question #695823]: [2.0.5] IDE: macOS: runScript: [error] ImagePath: find: not there: xxx.png

2021-03-06 Thread Ben Dix
Question #695823 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695823 Status: Answered => Open Ben Dix is still having a problem: using java 15 - sorry it's 15 -- You received this question notification because your team Sikuli Drivers is an answer cont

Re: [Sikuli-driver] [Question #695823]: [2.0.5] IDE: macOS: runScript: [error] ImagePath: find: not there: xxx.png

2021-03-06 Thread Ben Dix
Question #695823 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695823 Ben Dix posted a new comment: fyi tested 2.0.5 also on MacBook Pro, using java 14. looks like its working fine so far  maybe a java related problem? My Mac mini ist running still on java 11 -- You

Re: [Sikuli-driver] [Question #695876]: repeating findBest question

2021-03-06 Thread Ben Dix
Question #695876 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695876 Status: Answered => Solved Ben Dix confirmed that the question is solved: thx Rainman, now I figured out what to do  Your example helps, of course, but now I understood that the moment you c

[Sikuli-driver] [Question #695876]: repeating findBest question

2021-03-05 Thread Ben Dix
New question #695876 on Sikuli: https://answers.launchpad.net/sikuli/+question/695876 Hi, I try to optimize my script from: if exists(img1,0) or exists(img2,0) or : do something to a better readable version by using a list and findBest. So I made a list of images and repeat a

Re: [Sikuli-driver] [Question #695823]: [2.0.5] IDE: macOS: runScript: [error] ImagePath: find: not there: xxx.png

2021-03-04 Thread Ben Dix
Question #695823 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695823 Ben Dix posted a new comment: Done  -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing

Re: [Sikuli-driver] [Question #695823]: [2.0.5] [error] ImagePath: find: not there: xxx.png

2021-03-03 Thread Ben Dix
Question #695823 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695823 Ben Dix posted a new comment: in addition: there are no blank spaces inside my folder or file names. Maybe this problem is not the same as mentioned in the bug. -- You received this question notification

Re: [Sikuli-driver] [Question #695823]: [2.0.5] [error] ImagePath: find: not there: xxx.png

2021-03-03 Thread Ben Dix
Question #695823 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695823 Ben Dix posted a new comment: Hey RainMan, I've tried the new downloaded 2.0.5 version again, but my script failed :( My Start.sikuli file starts fine, but after importing the first script using runscript

Re: [Sikuli-driver] [Question #695823]: [2.0.5] [error] ImagePath: find: not there: xxx.png

2021-03-03 Thread Ben Dix
Question #695823 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695823 Ben Dix posted a new comment: thx rainman! will do this evening and report as soon as possible  -- You received this question notification because your team Sikuli Drivers is an answer contact

Re: [Sikuli-driver] [Question #695823]: [2.0.5] [error] ImagePath: find: not there: xxx.png

2021-03-02 Thread Ben Dix
Question #695823 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695823 Ben Dix posted a new comment: Well, in my case, I am starting a main file and importing a Settings.sikuli File that contains all my definitions, then using runscript(another files) to execute my commands

Re: [Sikuli-driver] [Question #695823]: [2.0.5] [error] ImagePath: find: not there: xxx.png

2021-03-02 Thread Ben Dix
Question #695823 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695823 Ben Dix posted a new comment: all pics are *.png files, shot by the IDE itself... -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

[Sikuli-driver] [Question #695823]: [error] ImagePath: find: not there: xxx.png

2021-03-02 Thread Ben Dix
New question #695823 on Sikuli: https://answers.launchpad.net/sikuli/+question/695823 Hey Folks, thx for the new Release  but I am having trouble with my scripts, that worked fine on 2.0.4. While running scripts inside the main scrip using "runscript", the imagepath seems to be wrong. so far

Re: [Sikuli-driver] [Question #695145]: addImagePath after runScript()

2021-01-26 Thread Ben Dix
Question #695145 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695145 Status: Answered => Open Ben Dix is still having a problem: thx for your reply, as far is I found out this works only while working directly in a *.py file. Looks like working with a Sikuli f

Re: [Sikuli-driver] [Question #695145]: addImagePath after runScript()

2021-01-22 Thread Ben Dix
Question #695145 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/695145 Description changed to: Hey Folks, I build up lots of scripts, working together like a charm  I import different Sikuli Scripts by running the runScript() command and after finishing the script, it

[Sikuli-driver] [Question #695145]: addImagePath after runScript()

2021-01-22 Thread Ben Dix
New question #695145 on Sikuli: https://answers.launchpad.net/sikuli/+question/695145 Hey Folks, I build up lots of scripts, working together like a charm  I import different Sikuli Scripts by running the runScript() command and after finishing the script, it returns to my main script and

Re: [Sikuli-driver] [Question #694329]: define import and call it randomly?

2020-12-03 Thread Ben Dix
Question #694329 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694329 Ben Dix posted a new comment: There are fights you better try to avoid, cause you can’t win  -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #694329]: define import and call it randomly?

2020-12-03 Thread Ben Dix
Question #694329 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694329 Ben Dix posted a new comment: thx a lot for helping me  It makes a lot of fun learning more and more each day... Only my wife is a bit upsad, cause I am googling all day in the name of python  -- You

Re: [Sikuli-driver] [Question #694329]: define import and call it randomly?

2020-12-03 Thread Ben Dix
Question #694329 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694329 Ben Dix posted a new comment: ok, sorry for talking to myself  but proudly presenting a solution, working in theory and also in a different IDE environment (importing py files) so far: import random

Re: [Sikuli-driver] [Question #694329]: define import and call it randomly?

2020-12-03 Thread Ben Dix
Question #694329 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694329 Ben Dix posted a new comment: I found a way, I think, but still need help defining my list to be importable items  My search goes on, but here is what I wrote so far  import random scriptlist = ['Test1

[Sikuli-driver] [Question #694329]: define import and call it randomly?

2020-12-03 Thread Ben Dix
New question #694329 on Sikuli: https://answers.launchpad.net/sikuli/+question/694329 Hey Folks, trying to call scripts from a main sikuli file in a random order... I red this older article (https://answers.launchpad.net/sikuli/+faq/2446) and also the new documentation, and it looks like,

Re: [Sikuli-driver] [Question #694243]: [2.0.4] IDE: macOS: problems using OCR features (Tesseract lib missing)

2020-11-30 Thread Ben Dix
Question #694243 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694243 Ben Dix posted a new comment: I have to thank you for not giving up  now it is working! thx a lot!!! Greetings and keep healthy  -- You received this question notification because your team Sikuli

Re: [Sikuli-driver] [Question #694243]: Tesseract problem using OS X

2020-11-30 Thread Ben Dix
Question #694243 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694243 Ben Dix posted a new comment: yeah, installed over brew: tesseract 4.1.1 leptonica-1.80.0 libgif 5.2.1 : libjpeg 9d : libpng 1.6.37 : libtiff 4.1.0 : zlib 1.2.11 : libwebp 1.1.0 : libopenjp2 2.3.1

Re: [Sikuli-driver] [Question #694243]: Tesseract problem using OS X

2020-11-30 Thread Ben Dix
Question #694243 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694243 Ben Dix posted a new comment: Like a very early Christmas Present  thx for that. I am using the IDE. Tried to start the IDE with: java -Djna.library.path=/usr/local/lib -jar /Users/MYNAME/Desktop/Sikulix

Re: [Sikuli-driver] [Question #694243]: Tesseract problem using OS X

2020-11-29 Thread Ben Dix
Question #694243 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694243 Ben Dix posted a new comment: Happy first advent  it's fine for me talking in english so the others may also profit of my newbie questions  but thx for that offer... reading lots of basics about java

Re: [Sikuli-driver] [Question #694243]: Tesseract problem using OS X

2020-11-29 Thread Ben Dix
Question #694243 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694243 Ben Dix posted a new comment: thx for your fast response. I tried this but got an error: Fehler: Hauptklasse MainClass konnte nicht gefunden oder geladen werden Ursache: java.lang.ClassNotFoundException

[Sikuli-driver] [Question #694243]: Tesseract problem using OS X

2020-11-29 Thread Ben Dix
New question #694243 on Sikuli: https://answers.launchpad.net/sikuli/+question/694243 Hey, using Sikuli 2.0.4 on Java 11 (Catalina) and having problems with text() OCR in general, cause of the missing link to my lib. I already found the workaround for a solution, but can't get this to work:

Re: [Sikuli-driver] [Question #694126]: make every click random on a picture

2020-11-25 Thread Ben Dix
Question #694126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694126 Ben Dix posted a new comment: yeah! thx a lot! will try this! -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli

[Sikuli-driver] [Question #694126]: make every click random on a picture

2020-11-21 Thread Ben Dix
New question #694126 on Sikuli: https://answers.launchpad.net/sikuli/+question/694126 Hi, new to Sikuli, but love it  Is there a way to change the "click" command or add another command, so that the click action for every picture will be done different on the picture itself? something like: