Jump to content
Sign in to follow this  
happy2help

Monitoring VNC Status

Recommended Posts

happy2help

Hi All

I have searched the forum and found loads of ways of controlling VNC. I don't want to do that. I want to do the opposite.

let me explain.

I have RealVNC server running on my machines at home and want to log into them from work. My home machines are working the internet connection hard all the time, so i want autoit to notice that i have connected to VNC and then run several commands that pauses my programs running on that machine. I can do the "run several commands...." bit, i just don't know how to monitor the VNC. It runs in the system tray and changes colour when someone is connected. So i could use PixelSearch or PixelGetColor function if i knew how to get the position of VNC on the systray ( it moves all the time).

Any help or forum links would be really helpfull

Share this post


Link to post
Share on other sites
BigDod
This topic will help you to find the icon position on the systray.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites
Bert

Use the DOS command Netstat to get the traffic.

http://en.wikipedia.org/wiki/Netstat

have it either dump its output with a overwrite to a text file every few seconds or read its output directly. Read the results and see if VNC is causing traffic

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.