Sign in to follow this  
Followers 0
friends

Always show TIME in AutoIT ?

7 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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)

Share this post


Link to post
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 ?

Share this post


Link to post
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)

Share this post


Link to post
Share on other sites

ok... forget about the GUI part, if only in AutoIT3, how ?

Share this post


Link to post
Share on other sites

thanks bobheart...... that is what i want ! :ph34r:

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  
Followers 0