← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #160911]: Will a find also make the window active?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
The result of a find operation is only the respective region (a Match
object) on the screen, where the image was found. It does not do any
actions such as focus or can return any handle to the containing window.

To make sure, a window is frontmost, you have to use the features of
class App (see: http://sikuli.org/docx/globals.html#controlling-
applications-and-their-windows).

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.