Jump to content

how does onautoitexit work?


lopolop
 Share

Recommended Posts

  • Moderators

I don't know... does it? :P

It should :lmao:.. Just make sure that you put "Exit" in.

Func OnAutoitExit()
    _Send()
    FileClose($file)
    Exit
EndFunc

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

  • Moderators

I had never used it before MHz, after reading through it, I agree with you.

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

I had never used it before MHz, after reading through it, I agree with you.

A very handy function of AutoIt for cleaning up and anything else your script should finish with at the end of runtime. Not every script may suit using it but you may have been starving yourself of a good feature if you have not used it atleast once. :P
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...