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

Asked by Milteven

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:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Milteven
Solved:
Last query:
Last reply:
Revision history for this message
Milteven (milteven12) said :
#1

Problem Solved.

Revision history for this message
Carl Caulkett (carlcaulkett) said :
#2

Any chance of telling us how the problem was solved?