friends Posted September 19, 2004 Share Posted September 19, 2004 Hi all. I wonder how can I consistently show the system time in AutoIT program that I have written ? mind to show some working example ? big thanks.. Link to comment Share on other sites More sharing options...
emmanuel Posted September 19, 2004 Share Posted September 19, 2004 (edited) Hi all. I wonder how can I consistently show the system time in AutoIT program that I have written ? 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 September 19, 2004 by emmanuel "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
friends Posted September 19, 2004 Author Share Posted September 19, 2004 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 ? Link to comment Share on other sites More sharing options...
emmanuel Posted September 19, 2004 Share Posted September 19, 2004 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 More sharing options...
friends Posted September 19, 2004 Author Share Posted September 19, 2004 ok... forget about the GUI part, if only in AutoIT3, how ? Link to comment Share on other sites More sharing options...
bobheart Posted September 19, 2004 Share Posted September 19, 2004 http://www.autoitscript.com/forum/index.ph...t=ST&f=2&t=4668 Link to comment Share on other sites More sharing options...
friends Posted September 20, 2004 Author Share Posted September 20, 2004 thanks bobheart...... that is what i want ! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now