Jump to content

Need some help getting started


Recommended Posts

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

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.
Link to comment
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!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...