switchApp() doesn't brings window to the front?

Asked by Milteven on 2017-01-03

Hello, I'm trying to bring different windows to the screen using the switchApp(), ;

Code:

switchApp('cmd');wait(1)
switchApp('Chrome');wait(1)
switchApp('cmd');wait(1)

Log:

[log] App.focus: [5972:cmd]

[log] App.focus: [3680:Chrome]

[log] App.focus: [5972:cmd]

Is partially working, the sikuli is changing the focus to the program (you can see by the windows bottom bar) BUT the window doesn't appears on the screen.

how can I fix it?

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Milteven
Solved:
2017-01-04
Last query:
2017-01-04
Last reply:
Milteven (milteven12) said : #1

Problem Solved.