EmJ Posted July 12, 2007 Posted July 12, 2007 if i'm not asking for too much i would like to know how to get the windoiws uptime in AutoIT or give me a script about how can i do that
Wooltown Posted July 12, 2007 Posted July 12, 2007 #include <Date.au3> $aTSB = DllCall ("kernel32.dll", "long", "GetTickCount") $ticksSinceBoot = $aTSB[0] dim $iHours, $iMins, $iSecs _TicksToTime ( $ticksSinceBoot, $iHours, $iMins, $iSecs ) $iDays = int($iHours / 24) $iHours = $iHours - ($iDays * 24) Something like this !
Moderators SmOke_N Posted July 12, 2007 Moderators Posted July 12, 2007 http://www.autoitscript.com/forum/index.ph...c=40321&hl= Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
EmJ Posted July 12, 2007 Author Posted July 12, 2007 (edited) thanx soo much guys i appreciate your help... Edited July 12, 2007 by EmJ
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