Jump to content

Checking system time while in a loop


 Share

Recommended Posts

Is there a function to check system time on a computer and a way to loopit in a Do ... Until ?

IE I want the macro to check current time and not execute further until a time of day has been reach.

I see

$begin = TimerInit()

sleep(3000)

$dif = TimerDiff($begin)

MsgBox(0,"Time Difference",$dif)

But the difference in time that I want is current system time on this computer.

I did a search for time and system time but the search function keeps timing out.

Edited by Cuervo

-Tim

Link to comment
Share on other sites

Is there a function to check system time on a computer and a way to loopit in a Do ... Until ?

IE I want the macro to check current time and not execute further until a time of day has been reach.

I see

$begin = TimerInit()

sleep(3000)

$dif = TimerDiff($begin)

MsgBox(0,"Time Difference",$dif)

But the difference in time that I want is current system time on this computer.

I did a search for time and system time but the search function keeps timing out.

Hi there,

I'm not sure if i understand your issue, nevertheless i'm going to give what i think is a hit:

$time = @HOUR & ":" & @MIN & ":" & @SEC
MsgBox(0,"Current System Time",$time)

Cheers

Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...