gyowell Posted August 3, 2007 Share Posted August 3, 2007 Hi, Just downloaded Autoit and read the examples, checked out the tutorials. I want to start very simple, and turn on an app to downoad stock quotes at a particular time. The Executeable is quote.exe. Could someone offer an example of the script that would do the job? I didn't see how I put in the time of the operation. Thanks, gyowell Link to comment Share on other sites More sharing options...
MisterBates Posted August 3, 2007 Share Posted August 3, 2007 Hi,Just downloaded Autoit and read the examples, checked out the tutorials. I want to start very simple, and turn on an app to downoad stock quotes at a particular time. The Executeable is quote.exe. Could someone offer an example of the script that would do the job? I didn't see how I put in the time of the operation.Thanks,gyowellAssuming you're wanting to use this example to practice AutoIt (rather than use windows' own scheduler ...), simplest way would be to use inputbox() to get the time, parse it to extract hours/mins, then go into a while/wend loop (with a sleep(1000) inside) checking the hours and mins against @hour and @min on each iteration. Once your time had been reached, the loop would exit and you could run() or runwait() your stock quotes program. [u]MisterBates[/u]_____________________________________________________Suspend/Resume Windows ScreensaverWatchWindows - Window watcher/loggerUDF: Click systray menu/submenu itemsUDF: Outlook Express Folder/Message handling (+ example code)HowTo: Multiple icons in one compiled script Link to comment Share on other sites More sharing options...
gyowell Posted August 3, 2007 Author Share Posted August 3, 2007 Assuming you're wanting to use this example to practice AutoIt (rather than use windows' own scheduler ...), simplest way would be to use inputbox() to get the time, parse it to extract hours/mins, then go into a while/wend loop (with a sleep(1000) inside) checking the hours and mins against @hour and @min on each iteration. Once your time had been reached, the loop would exit and you could run() or runwait() your stock quotes program.Hey, I will start with your simplest approach, and then pick up the Autoit approach! Thanks for the help! 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