Jump to content

Always show TIME in AutoIT ?


friends
 Share

Recommended Posts

Hi all. I wonder how can I consistently show the system time in

AutoIT program that I have written ?  :ph34r:

mind to show some working example ?

big thanks..

<{POST_SNAPBACK}>

I'm sorry, I don't quite understand...

you just want to get the current time in a variable, or show it in a messagebox or something?

edit

here's a little something, I'm sure there's plenty different ways, and don't even know what you're looking for:

$time = @hour & ":" & @MIN & ";" & @SEC
SplashTextOn("title", "Time is: " & $time)
while 1
   $time = @hour & ":" & @MIN & ":" & @SEC
   ControlSetText("title", "", "Static1" , "Time is: " & $time)
   sleep(250)
Wend
Edited by emmanuel

"I'm not even supposed to be here today!" -Dante (Hicks)

Link to comment
Share on other sites

sorry for not making my question clear enough.

what I want is, in my GUI AutoIT script, I need to display the

system date and time on it. Can that be done ?

If so... mind to show an example ?

<{POST_SNAPBACK}>

sorry, I don't know the gui... couldn't you just use the while loop and pass that variable to one of your controls in the gui?

"I'm not even supposed to be here today!" -Dante (Hicks)

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...