Mcky Posted February 21, 2005 Posted February 21, 2005 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]
Wolvereness Posted February 21, 2005 Posted February 21, 2005 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]
trids Posted February 21, 2005 Posted February 21, 2005 Without using the #include header.Any other ways?<{POST_SNAPBACK}>#include does not run any external scripts .. 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now