Jump to content
Sign in to follow this  
BassPlayer

How does AI search for Includes?

Recommended Posts

BassPlayer

I put all my AI code and installation in one tree on a share and have the code executed from there by different machines. I've not used includes yet and am now planning to use more libs. Is there a LIB_PATH or are includes searched via the PATH?

Share this post


Link to post
Share on other sites
/dev/null

I put all my AI code and installation in one tree on a share and have the code executed from there by different machines. I've not used includes yet and am now planning to use more libs. Is there a LIB_PATH or are includes searched via the PATH?

from the help file section of #include:

---

For the include library syntax (#include <file>) to work AutoIt must have been installed using the supplied installer otherwise the installation directory will not be known and the current script directory (@ScriptDir\Include) will be used instead.

---

Edited by /dev/null

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites
onestcoder

I had a question about this too. So if I don't have the included file in the Autoit include folder the scrpt will automaticly search for it in the script run directory?

Edited by onestcoder

Need a website: http://www.iconixmarketing.com

Share this post


Link to post
Share on other sites
Xenobiologist

HI,

if you ve got problems finding the correct include files try using my scring "organize includes" in my sig. :)

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites
/dev/null

I had a question about this too. So if I don't have the included file in the Autoit include folder the scrpt will automaticly search for it in the script run directory?

just read the help file section of #include. It's all defined there!


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites
BassPlayer

DOH! Sorry, I read the FAQ but not the help.

Thanks

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  

×