Jump to content

Premature Message?


sness
 Share

Recommended Posts

Hi Everyone.

I'm proud to announce that I have created my first functioning scripts today (complete w/variables) with AutoIt (ex-AutoTester user here). I put a msgbox(0,"Finished","Finished",2000) at the end of my script so I could know for sure it is done executing. Funny thing is that the message pops up BEFORE the commands are all executed into the terminal emulator program I'm testing. Why is this?

Thanks everyone for your feedback! <_<

Sue

Link to comment
Share on other sites

OK, Here it is.

The script runs without error. Just curious why the last line of code would execute before some of the lines before it (if that's what is happening). In other words, the message pops up and commands are still getting entered onto the test applicaton behind it. This is my first time sending code up to this bulletin board. I attached it.

Sue

Admit01.au3

Link to comment
Share on other sites

  • Moderators

They might be being sent to fast... Look at Opt("SendKeyDelay"... and see if adjusting the speed a bit of the sent keys actually gets everything sent.

Might also (if you can) look at ControlSend() instead of Send().

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

They might be being sent to fast... Look at Opt("SendKeyDelay"... and see if adjusting the speed a bit of the sent keys actually gets everything sent.

Might also (if you can) look at ControlSend() instead of Send().

OK, I will try that. Thanks!

Sue

Link to comment
Share on other sites

Hello sness,

I want to assume that the patient data in your script is dummy data and not actual data that can be used to nefarius ends. Would my assumption be correct?

Zach...

Edit: this community appears to be well policed as far as unscrupulous activity is concerned. But still...

Edited by zfisherdrums
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...