Jump to content
Sign in to follow this  
uzi17

using windows time to start program

Recommended Posts

uzi17

Hi,

i want to make a program that will open a program/file at a set time. How can i make my program prompt the user to enter a time/date to start the program?

the way i have it now is my program prompts the user for a number of hours

Local $hours = InputBox("Count Down", "Enter number of hours", "0")

and i have a countdown code which counts down from the number of hours and opens the program when its counts down to 0. but having the user choose a time/date would be much better

thanks

Share this post


Link to post
Share on other sites
GEOSoft

You can get a good start bt reading this post.

#533013


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites
uzi17

You can get a good start bt reading this post.

#533013

Thanks, that was really helpful :)

just another question, right now i have 4 seperate MsgBox's opening up prompting 4 different pieces of information. How would i make it all appear in 1 MsgBox?

Share this post


Link to post
Share on other sites
GEOSoft

Thanks, that was really helpful :)

just another question, right now i have 4 seperate MsgBox's opening up prompting 4 different pieces of information. How would i make it all appear in 1 MsgBox?

Probaby would be better if you created a GUI to handle it instead of using MsgBoxes() You will have to post the pertinent code to get help with the GUI

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites
uzi17

ok i figured out how to create a gui, but im having some problems with it so i decide to create a new thread about gui

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  

×