Thanks. That's basically what I have done. Seems to work OK and I have control over the 'idleness' threshold (ie bytes/min). Because this is launched in a dialup connection script I don't have the problem of it monitoring continuously. It disconnects and quits.
Duncan --- In [EMAIL PROTECTED], Alan Martin wrote: > If you cannot use a workaround involving another app, > such as DUmeter from http://www.dumeter.com as suggested > in my previous message, then you could try this workaround, > which is too complicated I admit: > > Make a new timer which starts at 5 seconds (or whatever > you prefer); it counts down to 0 then starts again at 5 > secs. Set it to always run from PP start. For its Reset > command, run this script: > > ;; create your own global var, to replace the > builtin dunidle: MyDunidle = 0 NewReceived = > GetSystemPerformanceData.get_dun_received NewSent = > GetSystemPerformanceData.get_dun_sent If ((NewReceived > > OldReceived) or (NewSent > OldSent)) MyDunidle = 1 ;; > prepare for the next run: OldReceived = NewReceived OldSent > = NewSent > > You could make that a script file, or put it all into the > MoreCommands box for the Reset command. > > Then you can use your global var MyDunidle > anywhere that you would normally use the Expression > "dunidle". Unfortunately it can be incorrect for up to > 5 seconds, (depending on your timer's settings) until > corrected by the next timer reset. > > Personally I don't like to add too many continuous > monitoring overheads like that. It's a pity that several of > PowerPro's expressions and Info labels re modem activity > only work in 95/98 operating systems from another > millenium. > > You could try setting the timer to "only run when dialup > of same name is active" in which case you would need to > add a Stop command to it: MyDunidle = 1 Hopefully that > would prevent the variable sticking at 0 when the timer > becomes inactive. > > Your modem will also be idle at bootup, so you could add > a new PowerPro Scheduler "Startup" item: MyDunIdle = 1 **** EDIT YOUR POSTINGS !!!! **** Please remove as much as possible from original messages before replying to them. ________________________________________________ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
