Sign in to follow this  
Followers 0
JasonR

Open UltraVNC and fill in appropriate boxes

3 posts in this topic

I just found out about AutoIt today. I have no experience with scripting. What I am trying to do is automate opening UltraVNC and logging it into the appropriate pc. I hope this is an easy script to write. Please help a rookie!

Share this post


Link to post
Share on other sites



Here you can find my VNC-Logger

It works very well. Just start it on the pc where the vnc-server is running.

Ctrl+Alt+F10 exits the script.

VNC-Logger light by funkey.au3


Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning.

Share this post


Link to post
Share on other sites

I just found out about AutoIt today. I have no experience with scripting. What I am trying to do is automate opening UltraVNC and logging it into the appropriate pc. I hope this is an easy script to write. Please help a rookie!

Welcome JasonR :(

This is fairly straightforward. I have a script which does all this though I'll only show a bit below.

The remote starts UVNC like this

Run(@ProgramFilesDir & "\UltraVNC\vncviewer.exe")
WinWaitActive("Ultr@VNC Viewer", "", 10)
Sleep(1000)

;controlsend doesn't work here but controlfocus then send does.
ControlFocus("Ultr@VNC Viewer", "", "[CLASS:EDIT;INSTANCE:1]")
Send($CustIP & '::' & $CustPort)
Sleep(500)
ControlClick("Ultr@VNC Viewer", "", "[CLASS:Button;INSTANCE:1]")

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0