Re: [Sikuli-driver] [Question #698000]: [2.0.5] Java program: Unable to bring window forward on Windows 10
Question #698000 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698000 Description changed to: * accepted as bug: follow up on GitHub: https://github.com/RaiMan/SikuliX1/issues/464 - * workaround: A workaround is to disable the taskbar icon flashing completely: https://www.thewindowsclub.com/disable-flashing-taskbar-buttons-windows -- Be sure to set both values to 0 (zero). I am trying to bring an application that is already running into the foreground on Windows 10 using Java. Here is the code I am using: App app = App.open("\"C:\\Program Files (x86)\\Notepad++\\notepad++.exe\""); app.focus(); This causes the Notepad++ application to blink in the taskbar, but it doesn't bring it to the foreground. What am I missing? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #698000]: [2.0.5] Java program: Unable to bring window forward on Windows 10
Question #698000 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698000 Description changed to: * accepted as bug: follow up on GitHub: https://github.com/RaiMan/SikuliX1/issues/464 - * workaround: A workaround is to disable the taskbar icon flashing completely: https://www.thewindowsclub.com/disable-flashing-taskbar-buttons-windows Be sure to set both values to 0 (zero). -- I am trying to bring an application that is already running into the foreground on Windows 10 using Java. Here is the code I am using: App app = App.open("\"C:\\Program Files (x86)\\Notepad++\\notepad++.exe\""); app.focus(); This causes the Notepad++ application to blink in the taskbar, but it doesn't bring it to the foreground. What am I missing? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #698136]: Two `def` functions, doesn't work, only bottom one works, why
Question #698136 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698136 RaiMan posted a new comment: This is not abnormal. Java has a dynamic memory management. SikuliX usage usually starts at about 300 MB. on longer runs it increases towards 700 - 900 MB. This is due to the standard memory parameters of Java. If you think, this really has an impact on your system behavior, then you have to dive into the memory management parameters of Java (-X parameters). I stopped looking at this years ago, since it is rather complicated with little overall effect. I never really had problems with that even on machines with 4GB physical memory, which these days is the minimum recommended. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #698136]: Two `def` functions, doesn't work, only bottom one works, why
Question #698136 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698136 Status: Answered => Solved bhavanitech 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 SikuliX. ___ 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 #698000]: [2.0.5] Java program: Unable to bring window forward on Windows 10
Question #698000 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698000 Description changed to: * accepted as bug: follow up on GitHub: https://github.com/RaiMan/SikuliX1/issues/464 - I am trying to bring an application that is already running into the foreground on Windows 10 using Java. Here is the code I am using: App app = App.open("\"C:\\Program Files (x86)\\Notepad++\\notepad++.exe\""); app.focus(); This causes the Notepad++ application to blink in the taskbar, but it doesn't bring it to the foreground. What am I missing? -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #698000]: [2.0.5] Java program: Unable to bring window forward on Windows 10
Question #698000 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698000 Summary changed to: [2.0.5] Java program: Unable to bring window forward on Windows 10 -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #698000]: Unable to bring window forward on Windows 10
Question #698000 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698000 Status: Open => Answered RaiMan proposed the following answer: Ok, confirmed. In the IDE (tested with 2.0.5) everything works as expected, even when the script is run from commandline. Using the same workflow in a Java program, only the first focus works. All following only make the icon in the taskbar blinking. I currently have no idea, what causes the different behavior, but will try to find out. 2.0.6 will have a different implementation of the App class. I will check its behavior. for now I accept it as a bug (follow up on GitHub). -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #697930]: Matching preview stuck on loading
Question #697930 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697930 Status: Open => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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