accessrichard / autoitx4java

Automatically exported from code.google.com/p/autoitx4java
40 stars 24 forks source link

notepad GUI does not launch #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I tried your example. Notepad is started - I can see it in Task Manager - but 
there is no GUI. The subsequent command x.winWaitActive(notepad); just hangs. 
No stacktrace, no error, nothing.

This is running from Eclipse Kepler, JUnit4, all 64bit dlls, Windows7.
I can provide any other information you need.

Original issue reported on code.google.com by mark.le...@gmail.com on 5 May 2014 at 4:12

GoogleCodeExporter commented 9 years ago
Apparently it runs in a "hidden window" by default. I did not know that even 
exists.
Changing the example code to x.run("notepad.exe", "c:\\", AutoItX.SW_RESTORE) 
makes it work as expected!

Original comment by mark.le...@gmail.com on 5 May 2014 at 4:37