Sign in to follow this  
Followers 0
gyowell

Need some help getting started

3 posts in this topic

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

Share this post


Link to post
Share on other sites



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

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.

Share this post


Link to post
Share on other sites

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!

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