Jump to content

Recommended Posts

Posted

Run(@AutoItExe & ' ' & '#scriptpath')

Replace #scriptpath with the path of external script.

Offering any help to anyone (to my capabilities of course)Want to say thanks? Click here! [quote name='Albert Einstein']Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.[/quote][quote name='Wolvereness' date='7:35PM Central, Jan 11, 2005']I'm NEVER wrong, I call it something else[/quote]

Posted

Without using the #include header.

Any other ways?

<{POST_SNAPBACK}>

#include does not run any external scripts :lmao:

.. it simply copies the code from the file that you refer to with the #include .. as if you typed it in yourself: An #include is like a placeholder, and you should imagine your script being expanded at the #includes with the code that lies in the files they reference.

This is very significantly different to "running" that code.

If you do want to run external code, then you pass control to the external code by using Run as Wolvereness indicated .. or RunWait.

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
  • Recently Browsing   0 members

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