Re: [Sikuli-driver] [Question #689166]: SikulixIDE-2.0.3 won't type in Oracle VirtualBox VM
Question #689166 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689166 Patrik Natali gave more information on the question: Holy cow, Baze you are right! I installed version 1.1.3 and it worked immediately. That's really bizarre. -- 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 #689166]: SikulixIDE-2.0.3 won't type in Oracle VirtualBox VM
Question #689166 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689166 Eric G posted a new comment: If you're looking to automate testing, perhaps this python script is worth looking into? https://github.com/Pernat1y/vm-automation Sorry I couldn't help you out lol -- 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 #689166]: SikulixIDE-2.0.3 won't type in Oracle VirtualBox VM
Question #689166 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689166 Eric G posted a new comment: That's tough...if everything is running at the same privileges and right window. The only other thing I can think of is a timing issue. Maybe try adding in some delays. The keyboard actions might be too fast to be registered properly. Aside from that, have you considered the possibility of the VirtualBox being a fault? Does it work without a hitch? I don't have a lot of experience with VirtualBox but I think you should consult the user manual or related forums. I have this snippet from Oracle VM VirtualBox User Manual section 1.8.2 (pg 23) "Basically, you activate the VM by clicking inside it. To return ownership of keyboard and mouse to your host operating system, VirtualBox reserves a special key on your keyboard for itself: the “host key”. There is also "For technical reasons it may not be possible for the VM to get all keyboard input even when it does own the keyboard. Examples of this are the Ctrl-Alt-Del sequence on Windows hosts or single keys grabbed by other applications on X11 hosts like the GNOME desktop’s “Control key highlights mouse pointer” functionality" Those are all my ideas so I hope RaiMan has the solution to your problem, good luck! -- 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 614456] Re: [request] option to lock mouse movement+click to prevent user from interrupting
Any progress or workaround? -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/614456 Title: [request] option to lock mouse movement+click to prevent user from interrupting Status in Sikuli: In Progress Bug description: Update 2016-10-18 * There will never be such an absolute solution available (block user actions). Only some filter and detection for user actions will be available maybe with user callbacks, to be at least be able to ignore actions initiated by the real mouse and real keyboard. based on: https://github.com/kwhat/jnativehook --- Hallo. Sikuli is a great project and it is fun working with it but there is something that bothers me and I wonder why noone else ever asked this question bevore (at least I couldnt find something similar over the search function). Sikuli works pretty good but there is a big disadvantage making it pretty unstable for proper scripts: The mouse doesnt lock up when a script is running - so it is possible that the user will move the mouse during a critical period causing the whole script to "crash". So my question is - is there a way to lock up the mouse/keyboard during the execution of a script so the user cannot cause trouble by moving the mouse or other input? If there is no standart for it in Sikuli - any suggestions to solve this matter? +@developers It there is no general option for that - would it be possible to implement one? To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/614456/+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 #689166]: SikulixIDE-2.0.3 won't type in Oracle VirtualBox VM
Question #689166 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689166 Eric G posted a new comment: Forgot to mention if you want to test if App.focus solves problem you should add it the start then follow it up with type() or paste(). Also the indexing starts at 0 so if you have 4 instances with the same identifier the 4th one would be referenced by index num 3. -- 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 #689166]: SikulixIDE-2.0.3 won't type in Oracle VirtualBox VM
Question #689166 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689166 Eric G posted a new comment: Have you looked into App.focus()? https://sikulix-2014.readthedocs.io/en/latest/appclass.html I'm just speculating here but it could be worth a try. This is just to make sure sikuli is focused on the right window when attempting inputs. Sometimes game clients or applications in general open up secondary windows while minimizing the original, that might mess things up. App.focus() uses the pid identifier so use task manager or something to get the correct name. Saying I'm trying to run the program on a game window that only appears after launching game client. App.focus("Game window name"[index num if more than one instance]) ##This brings game window to front -- 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 #689156]: Region question
Question #689156 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689156 Status: Answered => Solved xyz_User confirmed that the question is solved: Thanks Eric, that just might work! -- 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 #689166]: SikulixIDE-2.0.3 won't type in Oracle VirtualBox VM
Question #689166 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689166 baze posted a new comment: Yes, try it sikulixsetup-1.1.3.jar (md5), it will probably work, however this is not a good solution .. Because it's older version so that means probably more bugs and missing extra options and stuff -- 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 #689166]: SikulixIDE-2.0.3 won't type in Oracle VirtualBox VM
Question #689166 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689166 Patrik Natali posted a new comment: Baze, do you mean sikulix version 1.3? -- 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 #689166]: SikulixIDE-2.0.3 won't type in Oracle VirtualBox VM
Question #689166 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689166 baze posted a new comment: I have same problem with a GAME. I tried runing cmd as admin [java -jar] nothing works. However, I installed the older version where it sets up env (i think 1.3) or sth like that and it started working! However if someone knows a solution please write so we don't use the older version for nothing -- 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 #689166]: SikulixIDE-2.0.3 won't type in Oracle VirtualBox VM
Question #689166 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689166 Patrik Natali gave more information on the question: Now I have tried disabling virus protection and all malware protection I could think of. Still, it does not work :( Perhaps I can move SikuliX to 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 #689166]: SikulixIDE-2.0.3 won't type in Oracle VirtualBox VM
Question #689166 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689166 Status: Answered => Open Patrik Natali is still having a problem: I tried paste(), which also did not work. My local user account is an administrator. I opened the command prompt (cmd.exe) with "Run as administrator". I launched "java -jar sikulix-2.0.3.jar". It still did not work. I tried running Oracle VM VirtualBox as administrator as well. I tried right clicking the java.exe executable and sikulix executable, selecting "Properties" and checking the "Unblock" checkboxes, which apparently restrict it. Unfortunately none of it worked. VirtualBox 6.1.2. Windows 10 OpenJDK 13.0.2 SikuliX 2.0.3 I can confirm that paste() and type() work with non-VM machines. If it matters, I have two monitors and I noticed SikuliX seems to prefer the 2nd monitor. -- 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 #689083]: Openning CMD via sikulix and doing some operation
Question #689083 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689083 Status: Answered => Solved Pritam Biswas confirmed that the question is solved: Thanks Manfred Hampl, 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 #689146]: ImportError: cannot import name fileSystemDecode
Question #689146 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689146 Wei posted a new comment: Thanks, I will update it too. -- 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 #689166]: SikulixIDE-2.0.3 won't type in Oracle VirtualBox VM
Question #689166 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689166 Status: Open => Answered RaiMan proposed the following answer: Already tried to use paste? -- 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 #689146]: ImportError: cannot import name fileSystemDecode
Question #689146 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689146 RaiMan posted a new comment: ... and you should use Jython 2.7.1 -- 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 #689156]: Region question
Question #689156 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689156 Status: Open => Answered RaiMan proposed the following answer: ... or you can simply ignore what happens in the middle What you want is currently not a feature. ... but Erics idea could be the base for an implementation. I put it on the list. -- 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 #688683]: Windows: lock screen not working using keyboard shortcut --- not possible --- workaround
Question #688683 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/688683 Summary changed to: Windows: lock screen not working using keyboard shortcut --- not possible --- workaround Description changed to: workaround: using 'run('rundll32.exe user32.dll,LockWorkStation')' does the job. BE AWARE: your script will not have any access to screen, mouse and keyboard. Unlock has to be done manually or with other means --- I'm trying to lock the screen after my script has run (win 10) using the following code type('l', Key.WIN) but this is just typing the 'l' character and not locking the screen I've got a workaround using 'run('rundll32.exe user32.dll,LockWorkStation')' but I'm just wondering why this keyboard shortcut isn't working? other actions using the "Windows" key seem to work fine thanks L -- 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