Jump to content
Sign in to follow this  
sambalec

How to start a command at 14H00 in my script

Recommended Posts

sambalec

hello, how can I start a command in my script at 14H00 and another one at 15H00 ( from local computer hour ) ?

Thank's a lot !!

Share this post


Link to post
Share on other sites
99ojo

hello, how can I start a command in my script at 14H00 and another one at 15H00 ( from local computer hour ) ?

Thank's a lot !!

Hi,

have a look at function _NowTime () and next time at helpfile as well. :D

;-))

Stefan

P.S: Why so complicated if it is much easier, as you see next post ......

Edited by 99ojo

Share this post


Link to post
Share on other sites
AuToItItAlIaNlOv3R

Try with this code :

While 1
Sleep (1000)
If @HOUR = "14" And @MIN = "00" Then
;Command here
EndIf
WEnd

Hello!

Edited by AuToItItAlIaNlOv3R

Share this post


Link to post
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
Sign in to follow this  

×