3151
Post New Requests Here / Re: Turn a batch file into an AHK script.
« Last post by 4wd on May 22, 2013, 07:01 PM »f I am not mistaken there is a 5 second delay before the icon appears once the VPN connects, could that be reduced to say 2 seconds?-pilgrim (May 22, 2013, 11:50 AM)
The time the icon is displayed is within a second or so of VIndicator receiving the Event Norification, so this might come down to the host machine generating an absolute sh*tload of events for some reason.
EDIT: I've shortened the interval, (at least I think I have), so don't bother with the debug output.
It would be nice if there was a way for the program to close on VPN disconnect but not essential.
That's easy enough.
If you can get the icons to indicate activity it would be a bonus....
Discovered at 0200 last night...I really should stop taking the netbook to bed

The only thing I am not certain about is the log, it's picking up login details. Not something I would want lying about if there was more than one user on a computer.
Now that's just plain wrong.....your event texts must be different from what I get. That it's apparently happening on Disconnect is even stranger as the password wasn't in any event I received.
Hmmm......maybe there's a difference when the connection is initiated via CLI.....have to check that but it still seems contrary to MS' MSDN docs unless I misread something, (wouldn't be the first time

EDIT: Mea culpa

BTW, how is it you have a CPUScore of 9.9 ?
Maximum is supposed to be 7.9, have you been fudging the figures


UPDATE up there
Fix: Hopefully reports which connection was disconnected rather than username in the log now
Added: Menu item Quit on Disconnect added, setting is saved to .ini for subsequent starts - obviously the icon needs to be visible to select it
Added: Icon toggles if amount of data Rx/Tx changes, only does this every 500ms - any more often increases CPU load
Added: Tooltip shows data Rx/Tx and rate
Maybe: The event checking has been reduced to 2 seconds - CPU load increases the shorter the interval
About the only changes I'd make now, (barring bugs - that's squashing not adding), is refine the Tx/Rx icon toggling so it only happens after a set amount of data has been transferred and autoscale the data measurement, (ie. kB, MB, etc).