Jump to content
Sign in to follow this  
Mcky

How to run external scripts?

Recommended Posts

Without using the #include header.

Any other ways?


My website: (Lots of AutoIt compiled programs+GameMaker games)http://mcky.sitesled.comMy AutoIt projects:Mcky's CalEntry - Calendar schedulingMcky's Web Extractor - Web page links extractorMcky's Appkey- Powerful Hotkey-listing tool[quote]I wish I was never born. I am just a lonely soul in this world... :([/quote]

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

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.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...