Skip to content

Visual automation on different desktops on Mac or Windows - use vision() #481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
niuniu132 opened this issue Jun 18, 2023 · 2 comments
Closed
Labels

Comments

@niuniu132
Copy link

No description provided.

@kensoh
Copy link
Member

kensoh commented Jul 2, 2023

Hi @niuniu132 I think so! By default the package uses the primary display. But through using vision() function, you can use custom SikuliX commands to perform actions on the 2nd or 3rd monitors. See below link for some examples. Essentially, you want to use vision() with Screen(1) for 2nd monitor and Screen(2) for 3rd monitor.

The image filename requires to be full path.

#252 (comment)

@kensoh kensoh changed the title Is that possible to run different visual automations on different desktops on a single Mac or windows machine? Visual automation on different desktops on Mac or Windows - use vision() Jul 2, 2023
@kensoh kensoh added the query label Jul 2, 2023
@kensoh
Copy link
Member

kensoh commented Jul 4, 2023

Closing issue for now but do let me know if u run into blocker using vision() to automate a different monitor!

@kensoh kensoh closed this as completed Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants