← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #268990]: Using a Screen other than the whole desktop

 

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

Roman Podolyan posted a new comment:
Sikuli can restrict image search to some Region, less than whole screen
— http://doc.sikuli.org/region.html , that is you may search in several
independent regions, so you may want to go into that topic.

But I don't get how you want to display multiple browsers on the screen
and switch between them. Once I wrote scripts that switched between,
say, XCode and SVN client, clicking on tasks icons in Mac OS X taskbar —
that was working with different applications, only one of which may be
present on screen in the any given moment (also Sikuli has some tools to
bring application front and back http://doc.sikuli.org/globals.html
#controlling-applications-and-their-windows , but I didn't use them at
that time).

So. If you want to restrict search to some less than whole screen part, use Regions. 
If you want to switch between several applications, you may write custom "switch by taskbar icons" part.

As for saving images for later use, there is Capture — http://doc.sikuli.org/screen.html#capturing
I never used it so far, but you can search for examples here on the Q & A forum.

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