Managing the use of different monitors attached to laptop
I am finding Sikuli to be a great solution to my testing project but have ran into something I can use a little guidance on.
I have 2 different docking stations I plug my laptop into. The screen resolution on the 2 monitors is different (1920x1080 vs 1920x1200). When I'm connected to the docking station with a lower resolution (1920x1080) the matching preview doesn't display the bottom area of the screen.
When I start Sikuli I see the following:
+++ running this Java
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) Client VM (build 25.144-b01, mixed mode, sharing)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.
Oct 27, 2017 6:10:20 AM java.util.
WARNING: Could not open/create prefs root node Software\
[info] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[info] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[error] IDE: Remembered window not valid. Going to primary screen
If I check the screens and bounds I get the following:
print "Screens: ", getNumberScreens()
print "Bounds: ", getBounds()
Screens: 1
Bounds: java.awt.
Is there a configuration somewhere I can adjust for this situation or how can I manage this so I can select between the two?
Thanks in advance
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: