SikuliX1 icon indicating copy to clipboard operation
SikuliX1 copied to clipboard

App: getTaskByName() wrongly detects Windows explorer

Open Torbilicious opened this issue 5 years ago • 0 comments

Hi! When calling

final App app = new App("C:\\Program Files (x86)\\my\\programm.exe")
app.open()

and by chance you have an Explorer window open at the location "C:\Program Files (x86)\my", getTaskByWindow() wrongly detects this as an instance of my app instead of launching my app as usual. Is there a setting to disallow trying to detect a running program by window title substring?

OS: Windows 10 64 bit Sikulix version: 2.0.1 Java: Oracle JDK 8

Torbilicious avatar Jan 27 '20 18:01 Torbilicious