← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #689166]: SikulixIDE-2.0.3 won't type in Oracle VirtualBox VM

 

Question #689166 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689166

Eric G posted a new comment:
Have you looked into App.focus()?

https://sikulix-2014.readthedocs.io/en/latest/appclass.html

I'm just speculating here but it could be worth a try. This is just to
make sure sikuli is focused on the right window when attempting inputs.
Sometimes game clients or applications in general open up secondary
windows  while minimizing the original, that might mess things up.

App.focus() uses the pid identifier so use task manager or something to
get the correct name.

Saying I'm trying to run the program on a game window that only appears
after launching game client.

App.focus("Game window name"[index num if more than one instance]) 
##This brings game window to front

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.