JasonR Posted March 18, 2010 Share Posted March 18, 2010 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! Link to comment Share on other sites More sharing options...
funkey Posted March 18, 2010 Share Posted March 18, 2010 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 tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning. Link to comment Share on other sites More sharing options...
martin Posted March 18, 2010 Share Posted March 18, 2010 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now