sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #40948
Re: [Question #406530]: Sikuli script to know the idle application and close it
Question #406530 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/406530
Status: Open => Answered
RaiMan proposed the following answer:
Supposing it is on Windows.
All App features do not work as expected in every situation.
So if you are sure, that cmd.close() does not work, then you might try
App().close("part of window title")
If this does not work either, then the last option is to get the App somehow to the front and use
type(Key.F4, Key.ALT)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.