Skip to content
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

VNC support #31

Merged
merged 2 commits into from Feb 3, 2014
Merged

VNC support #31

merged 2 commits into from Feb 3, 2014

Conversation

niknah
Copy link
Contributor

@niknah niknah commented Feb 3, 2014

Needs libvncclient
Useful if you want to do something else with your mouse/keyboard while sikuli is running

Use it like...

vncscreenid=JScreen.connectVNC(["vncviewer","192.168.1.111"],"password")
vncscreen=Screen(vncscreenid)

# Then everything will have to be accessed via the new "vncscreen" object.

vncscreen.click(Location(1,1))
vncscreen.type("abc")
vncscreen.find("xxx.png")

@fclairamb
Copy link

This is great news !

It's also useful if you want to test things on a remote computer or embedded device.

@RaiMan
Copy link
Member

RaiMan commented Feb 3, 2014

Thanks niknah ;-)

Since I can do it, I will just merge it, so it at least might help people, who decide to build RC3 from source.

I will have a look at it and then decide how I can integrate it into version 1.1 or 1.2 at https://github.com/RaiMan/SikuliX-2014

RaiMan added a commit that referenced this pull request Feb 3, 2014
@RaiMan RaiMan merged commit 141897f into sikuli:develop Feb 3, 2014
@niknah
Copy link
Contributor Author

niknah commented Feb 3, 2014

Thanks. I've only tried it out on linux. The basic stuff like typing, mouse, find works.
And I haven't tried other things like apple/win/arrow keys, mouse wheel, etc.

Also, it'll only work on a 32bit color vnc connection, which is the default.

If you want to do things on an iOS device. You may want to try https://github.com/niknah/veency
It is a VNC server but with patches to make the screen size smaller and some apps work better. works on iOS 6, on iOS 7 you'll need to get the patch in the issues page. Since I don't have an iOS 7 device, I can't compile it.
I learnt about vnc while fiddling with the veency server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants