← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #248016]: Which Screen Takes Screenshot

 

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

    Status: Needs information => Open

UNCCheezy gave more information on the question:
correct using the camera button in the IDE.  I normally use ths shortcut
to take pictures cmd + shift + 2

I tried the first answer,  Didn't work.  Not matter what I do, it always
selects s1

I ran the ide with those command, so here is the output.  I clicked the
take picture button, and clicked the smaller screen right after, but the
larger screen got the screenshot focus.  I did that twice.

[debug] EditorConsolePane: init: stdout/stderr redirected to console

[debug] ResourceLoaderBasic: loadLib: MacHotkeyManager
[debug] ResourceLoaderBasic: loadLib: Found: MacHotkeyManager

[debug] ResourceLoaderBasic: loadLib: Now loaded: MacHotkeyManager
[debug] restore session: /Users/shawn/flix_qa/tests/4.8/71014_mac_import_img_sequence.sikuli/

[debug] SikuliEditorKit.read
[debug] ImageLocator: found 1387495343588.png in /Users/shawn/flix_qa/tests/4.8/71014_mac_import_img_sequence.sikuli/
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-3783212145608464614.png

[debug] ImageLocator: found file_confirmation_window.png in /Users/shawn/flix_qa/tests/4.8/71014_mac_import_img_sequence.sikuli/
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-6132027772204657780.png
[debug] ImageLocator: found import_flix_sources.png in /Users/shawn/flix_qa/tests/4.8/71014_mac_import_img_sequence.sikuli/
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-1225573722002862286.png
[debug] ImageLocator: found 1389059265615.png in /Users/shawn/flix_qa/tests/4.8/71014_mac_import_img_sequence.sikuli/
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-2111524509645092258.png
[debug] ImageLocator: found 1389059265615.png in /Users/shawn/flix_qa/tests/4.8/71014_mac_import_img_sequence.sikuli/
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-7590223382602241615.png
[debug] ImageLocator: found 1387496349584.png in /Users/shawn/f

lix_qa/tests/4.8/71014_mac_import_img_sequence.sikuli/
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-7315668043795442460.png
[debug] ImageLocator: found 1387496362738.png in /Users/shawn/flix_qa/tests/4.8/71014_mac_import_img_sequence.sikuli/
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-5324677010851678385.png
[debug] ImageLocator: found 1390512885248.png in /Users/shawn/flix_qa/tests/4.8/71014_mac_import_img_sequence.sikuli/
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-5462861863232730142.png

[debug] ImageLocator: found 1390513086271.png in /Users/shawn/flix_qa/tests/4.8/71014_mac_import_img_sequence.sikuli/
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-5120717410071189841.png
[debug] ImageLocator: found 1387566882412.png in /Users/shawn/flix_qa/tests/4.8/71014_mac_import_img_sequence.sikuli/
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-1612864813758809128.png
[debug] ImageLocator: found 1387566895880.png in /Users/shawn/flix_qa/tests/4.8/71014_mac_import_img_sequence.sikuli/
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-3128062853848803621.png
[debug] ImageLocator: found 1389120127197.png in /Users/shawn/flix_qa/tests/4.8/71014_mac_import_img_sequence.sikuli/
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-4334215866589946569.png
[debug] ImageLocator: found open_button.png in /Users/shawn/flix_qa/tests/4.8/71

014_mac_import_img_sequence.sikuli/
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-5566946251154316691.png
[debug] ImageLocator: found output_image.png in /Users/shawn/flix_qa/tests/4.8/71014_mac_import_img_sequence.sikuli/
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-4447487002774800180.png
[debug] restore session: /Users/shawn/Desktop/test_show_screens.sikuli/
[debug] SikuliEditorKit.read
[debug] Sikuli-IDE startup: 6390

[debug] capture!

[debug] ScreenUnion: capture: java.awt.Rectangle[x=-468,y=-1200,width=1920,height=2000]
[debug] Screen.capture: java.awt.Rectangle[x=-468,y=-1200,width=1920,height=2000]

[debug] RobotDesktop: captureScreen: on 1 using
java.awt.Rectangle[x=0,y=0,width=1920,height=2000]

[debug] CapturePrompt: Select an image

[debug] ResourceLoaderBasic: loadLib: Is already loaded: MacUtil

[debug] ScreenUnion: getIdFromPoint: (878, 579) as (410, -621) in (-468, -1200, 1920, 2000) on 1
[debug] CapturePrompt: started at (878,579) as L(410,-621) on 1

[debug] CapturePrompt: finished at (1143,882) as L(675,-318) on 1

[debug] CapturePrompt.close: freeing resources
[debug] captureCompleted: /Users/shawn/Desktop/test_show_screens.sikuli/1399046777485.png
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-5397953614282504817.png

[debug] capture!

[debug] ScreenUnion: capture: java.awt.Rectangle[x=-468,y=-1200,width=1920,height=2000]
[debug] Screen.capture: java.awt.Rectangle[x=-468,y=-1200,width=1920,height=2000]

[debug] RobotDesktop: captureScreen: on 1 using
java.awt.Rectangle[x=0,y=0,width=1920,height=2000]

[debug] CapturePrompt: Select an image

[debug] ScreenUnion: getIdFromPoint: (1180, 694) as (712, -506) in (-468, -1200, 1920, 2000) on 1
[debug] CapturePrompt: started at (1180,694) as L(712,-506) on 1

[debug] CapturePrompt: finished at (1326,835) as L(858,-365) on 1
[debug] CapturePrompt.close: freeing resources
[debug] captureCompleted: /Users/shawn/Desktop/test_show_screens.sikuli/1399046792420.png
[debug] FileManager: tempfile create: /var/folders/56/r7pqmzx9095cpxvybh3k6hp00000gn/T/sikuli-5148475888627108590.png

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