← Back to team overview

sikuli-driver team mailing list archive

[Question #698000]: Unable to bring window forward on Windows 10

 

New question #698000 on SikuliX:
https://answers.launchpad.net/sikuli/+question/698000

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.