so my sisters leave the computer on all the time and ive had a request to make a script. after time=x. heres what ive got:
#include <Timers.au3>
#include <Date.au3>
$Timeout = $desiredtime
$File = "C:\ShutdownLog\Log.txt"
$Directory = "C:\ShutdownLog"
$uFile = @UserProfileDir & "\SDLog.txt"
$FileHandle = FileOpen($File, 1)
$uFileHandle = FileOpen($uFile, 1)
If FileExists($File) = 0 Then
DirCreate($Directory)
EndIf
While 1
$TimeIdle = _Timer_GetIdleTime()
If $TimeIdl