Re: [Sikuli-driver] [Question #634461]: How to press the Key "Super(Win)" in Linux
Question #634461 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/634461 Status: Needs information => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Needs information' state without activity for the last 15 days. -- 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 #634971]: Sikuli hanging on 2nd run of a script
Question #634971 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/634971 RaiMan requested more information: Thanks for the explanation - makes sense. Did you already check, wether the fix works for you? -- 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 #642378]: Differentiating among identical icons and iterating among those icons
Question #642378 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642378 Status: Open => Answered RaiMan proposed the following answer: 1. upgrade to version 1.1.1 (http://sikulix.com) 2. have a look at findAll() - should help in your situation -- 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 #631145]: running sikuli script in a such a way that it starts at a particular time
Question #631145 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/631145 Status: Open => Answered RaiMan proposed the following answer: Does not really depend on the Sikuli(X) version. ... but I recommend to upgrade to version 1.1.1 (see other 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 #642404]: Read lines from a file and pause for hotkey?
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Status: Open => Answered RaiMan proposed the following answer: for line in theFile: while running: print line # print line in sikuli click("1330680438453.png"), type(line) will not work, since the while loop will repeat with the first line until running gets False. for line in theFile: if running: # check wether hotkey was pressed print line # print line in sikuli click("1330680438453.png") wait(0.5) # this depends on how fast your GUI reacts type(line) # paste() is needed if line contains special characters or even non-ASCII wait(5) # see comment comment: when a line is processed, the script should wait some time to give you a chance to observe and react ;-) without -- 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 1630467] Re: [1.1.x] all() should respect Python's builtin function
** Changed in: sikuli Milestone: 1.1.1 => 1.1.2 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1630467 Title: [1.1.x] all() should respect Python's builtin function Status in Sikuli: Fix Committed Bug description: I have just tryed to run this: print all() and got the line "S(-1)[0,0 1920x1080] E:Y, T:3,0". What does it mean? I have not found the documentation. Will it be bad for Sikuli working if I delete this function so that I was able to use standard Python function all()? To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1630467/+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 1630467] Re: [1.1.x] all() should respect Python's builtin function
*** this is the fix at Python level: the constant ALL (like SCREEN for the primary screen) represents a region as a union of all screen regions at Java level: use Region all = Screen.all().getRegion() ** Changed in: sikuli Importance: High => Critical ** Summary changed: - [1.1.x] all() should respect Python's builtin function + [1.1.x] all() should respect Python's builtin function --- fixed in 1.1.1 final -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1630467 Title: [1.1.x] all() should respect Python's builtin function --- fixed in 1.1.1 final Status in Sikuli: Fix Committed Bug description: I have just tryed to run this: print all() and got the line "S(-1)[0,0 1920x1080] E:Y, T:3,0". What does it mean? I have not found the documentation. Will it be bad for Sikuli working if I delete this function so that I was able to use standard Python function all()? To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1630467/+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 1696708] Re: After modifying and saving some code in sikuli IDE for existing test, when Run button is clicked , IDE continues to use the older version of the code for execution.
This only happened in the past with changed code, that is imported by a main script, if both are open in IDE. fixed: see docs: http://sikulix-2014.readthedocs.io/en/latest/scripting.html#importing-other-sikuli-scripts-reuse-code-and-images ... and read carefully to the end of the chapter. ** Changed in: sikuli Status: New => Fix Committed ** Changed in: sikuli Importance: Undecided => Critical ** Changed in: sikuli Assignee: (unassigned) => RaiMan (raimund-hocke) ** Changed in: sikuli Milestone: None => 1.1.2 ** Summary changed: - After modifying and saving some code in sikuli IDE for existing test, when Run button is clicked , IDE continues to use the older version of the code for execution. + After modifying and saving some code in sikuli IDE for existing test, when Run button is clicked , IDE continues to use the older version of the code for execution. --- fixed in 1.1.1 final -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1696708 Title: After modifying and saving some code in sikuli IDE for existing test, when Run button is clicked , IDE continues to use the older version of the code for execution. --- fixed in 1.1.1 final Status in Sikuli: Fix Committed Bug description: After modifying and saving some code in sikuli IDE for existing test, when Run button is clicked , IDE continues to use the older version of the code for execution. The IDE has to be closed and reopened again to reflect the changes. Other work around for this issue is triggering test via command prompt. Team, can you please fix this issue. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1696708/+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 #615908]: How to define a "non-fixed" region?
Question #615908 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/615908 Narasimha Nithesh Thota posted a new comment: Hi How was this issue resolved? -- 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 #642404]: Read lines from a file and pause for hotkey?
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Status: Solved => Open Julian Moorhouse is still having a problem: Oops I didn't mean to mark that as answer. Thanks, however I really need to wait until a hotkey is pressed rather than wait for a fixed period. -- 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 #642404]: Read lines from a file and pause for hotkey?
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Status: Answered => Solved Julian Moorhouse 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 #642404]: Read lines from a file and pause for hotkey?
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Julian Moorhouse gave more information on the question: Hmmm I could perhaps but the hotkey check around the pause -- 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 #642404]: Read lines from a file and pause for hotkey?
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Status: Open => Answered Manfred Hampl proposed the following answer: What exactly do you want? Should the process wait for a key-press after each line? In my opinion in such case some kind of popup would be a better choice than a hotkey, see http://sikulix-2014.readthedocs.io/en/latest/interaction.html The hotkey feature better serves the requirements of interrupting the processing wherever it might be at that moment. What you need seems to be a decision to wait or continue at a specific point in the processing. -- 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 #642580]: Crash after pressing CLick()
New question #642580 on Sikuli: https://answers.launchpad.net/sikuli/+question/642580 Hi! I did everything using this instructions https://answers.launchpad.net/sikuli/+faq/2005 but i have 2 problems: 1. The IDE is crashed after pressing click() (or other) button. I use Sikuli-IDE-w.bat 2. Java_home and Sikuli_home have been added to my variables but after entering this 'java -jar "%SIKULI_HOME%sikuli-script.jar" -i' on a comand line I received error message. Help me pls :( C:\Windows\system32>java -jar "%SIKULI_HOME%sikuli-script.jar" -i [info] Sikuli vision engine loaded. Traceback (most recent call last): File "", line 1, in File "D:\sikuli\sikuli-script.jar\Lib\sikuli\__init__.py", line 3, in File "D:\sikuli\sikuli-script.jar\Lib\sikuli\Sikuli.py", line 26, in java.lang.UnsatisfiedLinkError: D:\sikuli\libs\Win32Util.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(Unknown Source) at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.load0(Unknown Source) at java.lang.System.load(Unknown Source) at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44) at org.sikuli.script.Win32Util.(Win32Util.java:19) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.sikuli.script.Env.getOSUtil(Env.java:91) at org.sikuli.script.App.(App.java:9) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.python.core.Py.loadAndInitClass(Py.java:895) at org.python.core.Py.findClassInternal(Py.java:830) at org.python.core.Py.findClassEx(Py.java:881) at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133) at org.python.core.packagecache.PackageManager.findClass(PackageManager.java:28) at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122) at org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:137) at org.python.core.PyObject.__findattr__(PyObject.java:863) at org.python.core.imp.import_name(imp.java:849) at org.python.core.imp.importName(imp.java:884) at org.python.core.ImportFunction.__call__(__builtin__.java:1220) at org.python.core.PyObject.__call__(PyObject.java:357) at org.python.core.__builtin__.__import__(__builtin__.java:1173) at org.python.core.imp.importFromAs(imp.java:978) at org.python.core.imp.importFrom(imp.java:954) at sikuli.Sikuli$py.f$0(D:\sikuli\sikuli-script.jar\Lib\sikuli\Sikuli.py:212) at sikuli.Sikuli$py.call_function(D:\sikuli\sikuli-script.jar\Lib\sikuli\Sikuli.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:386) at org.python.core.util.importer.importer_load_module(importer.java:109) at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161) at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47) at org.python.core.imp.loadFromLoader(imp.java:513) at org.python.core.imp.find_module(imp.java:467) at org.python.core.PyModule.impAttr(PyModule.java:100) at org.python.core.imp.import_next(imp.java:715) at org.python.core.imp.import_name(imp.java:824) at org.python.core.imp.importName(imp.java:884) at org.python.core.ImportFunction.__call__(__builtin__.java:1220) at org.python.core.PyObject.__call__(PyObject.java:357) at org.python.core.__builtin__.__import__(__builtin__.java:1173) at org.python.core.imp.importAll(imp.java:998) at sikuli$py.f$0(D:\sikuli\sikuli-script.jar\Lib\sikuli\__init__.py:3) at sikuli$py.call_function(D:\sikuli\sikuli-script.jar\Lib\sikuli\__init__.py) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.imp.createFromCode(imp.java:386) at org.python.core.util.importer.importer_load_module(importer.java:109) at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161) at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source) at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47) at org.python.core.imp.loadFromLoader(imp.java:513) at org.python.core.imp.find_module(imp.java:467) at org.python.core.imp.import_next(imp.java:713) at org.python.core.imp.import_name(imp.java:82
Re: [Sikuli-driver] [Question #642404]: Read lines from a file and pause for hotkey?
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Julian Moorhouse posted a new comment: >Should the process wait for a key-press after each line? Yes. A popup sounds ideal :) -- 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 #642659]: Sikuli can no longer create new files
New question #642659 on Sikuli: https://answers.launchpad.net/sikuli/+question/642659 Hi all, Would really appreciate any insight on this, as I've spent a lot of time troubleshooting to no avail. I'm using Sikuli on a VM to do some morning checkouts for a suite of applications, and one week Sikuli stopped being able to write new files for screenshots or logs. I also use it to encrypt login information, which involves creating and deleting a cipher text file every time a script is run. However, I keep getting thrown this error: [error] IOError ( (2, 'No such file or directory', 'I:\\Sikuli\\New folder\\Untitled.sikuli\\New Text Document.txt') ) Even though the line of code the error refers to is: cipherFile = open('I:\\Sikuli\\New folder\\Untitled.sikuli\\New Text Document.txt', 'r+') Which should create the file if it does not exist. I've tried changing permissions on the folder its trying to write to, upgrading Sikuli to 1.1.1, and even manually creating I:\\Sikuli\\New folder\\Untitled.sikuli\\New Text Document.txt so that Sikuli could just write to it rather than have to make a new file. Still no dice. Does anyone have any ideas? Would be greatly appreciated, I could use a fresh set of eyes on it. Thanks! -- 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 #642580]: Crash after pressing CLick()
Question #642580 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642580 Description changed to: Hi! I did everything using this instructions https://answers.launchpad.net/sikuli/+faq/2005 but i have 2 problems: 1. The IDE is crashed after pressing click() (or other) button. I use Sikuli-IDE-w.bat 2. Java_home and Sikuli_home have been added to my variables but after entering this 'java -jar "%SIKULI_HOME%sikuli-script.jar" -i' on a comand line I received error message. Help me pls :( C:\Windows\system32>java -jar "%SIKULI_HOME%sikuli-script.jar" -i [info] Sikuli vision engine loaded. Traceback (most recent call last): File "", line 1, in File "D:\sikuli\sikuli-script.jar\Lib\sikuli\__init__.py", line 3, in File "D:\sikuli\sikuli-script.jar\Lib\sikuli\Sikuli.py", line 26, in java.lang.UnsatisfiedLinkError: D:\sikuli\libs\Win32Util.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) -- 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 #642580]: Crash after pressing CLick()
Question #642580 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642580 Status: Open => Answered RaiMan proposed the following answer: upgrade to version 1.1.1 http://sikulix.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 #634971]: Sikuli hanging on 2nd run of a script
Question #634971 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/634971 Ryan posted a new comment: I haven't had a chance to check yet. I am working on my Sikuli project in my spare time at work and it's been pretty busy lately. I am hoping the get sometime soon to check it out. I get back to this thread when I get a chance. Thanks for fixing!! -- 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 #634971]: Sikuli hanging on 2nd run of a script
Question #634971 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/634971 Status: Answered => Solved Ryan confirmed that the question is solved: Hi again RaiMan, As it turns out, I found some free time today. I downloaded the 06-04 nightly build of Sikuli 1.1.2 and installed that. I recreated the script from above and ran it - it ran perfectly multiple times in a row, so it looks fixed! One note is that is have upgraded my system to the latest macOS beta (10.13) and it works on there. popFile gave me a slightly different text box than I was expecting (It allowed me to browse through my folder structure to choose a file or folder), but the result is what I am looking for. My 10.12.5 partition is not wanting to boot right now, but I would expect it would be working on that OS as well. -- 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 #634971]: Sikuli hanging on 2nd run of a script
Question #634971 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/634971 Ryan 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
[Sikuli-driver] [Question #642888]: Running Sikuli on Windows 7/8.1/10 which has to run a virtual machine
New question #642888 on Sikuli: https://answers.launchpad.net/sikuli/+question/642888 Hello, I have a new problem, is it possible to run sikuli through Java on a main machine which uses windows 7/8.1 or 10 to automate some tests on a virtual machine which uses windows xp? Also which is the best solution to transfer files between the virtual machine and the host system because I have to parse some things which are running on the VM. -- 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 #642888]: Running Sikuli on Windows 7/8.1/10 which has to run a virtual machine
Question #642888 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642888 Status: Open => Answered masuo proposed the following answer: There is a way to use VirtualBox. https://www.virtualbox.org/ By using shared folder feature of VirtualBox, it is possible to transfer files between the virtual machine and the host system. -- 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 #642404]: Read lines from a file and pause for hotkey?
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Julian Moorhouse posted a new comment: To make things perfect, could I somehow exit the file loop. I'm thinking I could use an input popup or a yes / no popup. Thoughts ? -- 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