← Back to team overview

sikuli-driver team mailing list archive

[Bug 1213439] Re: [1.0.1] "Location: outside any screen" error on dual-screen configuration

 

Principally yes, but usually this is a one time decision some where in
the beginning of the script.

Most people solve this currently (since mostly you are working in some
kind of app window), by asking the window() of the app(), on what screen
it is on and set the screen one time for the rest of the script for
subsequent sx.click().

I have on the list, to switch the default screen on the fly, so you
could make a script for the default screen (no sx.function, but only
function) and then say something like switchDefault(1) abd from now on
all functions work on screen 1.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1213439

Title:
  [1.0.1] "Location: outside any screen" error on dual-screen
  configuration

Status in Sikuli:
  New

Bug description:
  Sikuli IDE 1.0.1
  Windows 7 x64

  1. Dual-screen configuration where the right screen is primary (thus, coordinates on the left screen is negative).
  2. Sikuli window on the left screen.
  3. Move mouse ower any thumbnail in the script.
  4. Sequence error in message pane like "[error] Location: outside any screen (32, -3) - subsequent actions might not work as expected". See attached screenshot.

  or

  2. Run script: click(<any_picture_on_left_screen>)
  3. Script return: [error] FindFailed ( can not find 1376853223841.png on the screen. )

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1213439/+subscriptions


References