Sign in to follow this  
Followers 0
h711

question about custom library file

5 posts in this topic

Hi, I don't want to write every thing to a huge file, so I want to write some common functions as library file and let my main program include them. My question is: do I have to put them in

C:\Program Files\AutoIt3\Beta\Include

? Can I create a sub folder there just for my own library? Or can I place them else where? What should I do in my main program to locate and include them?

Thanks for the help!

Share this post


Link to post
Share on other sites



You can include them from anywhere. If the script is in the same folder as the library file then just include it normally but if not you may need to use the full path.

Share this post


Link to post
Share on other sites

Hi, I don't want to write every thing to a huge file, so I want to write some common functions as library file and let my main program include them. My question is: do I have to put them in ? Can I create a sub folder there just for my own library? Or can I place them else where? What should I do in my main program to locate and include them?

Thanks for the help!

You can put them without any problem. :)


When the words fail... music speaks

Share this post


Link to post
Share on other sites

I suggest you don't put them in the standard locations as they may get overwritten or even worse, deleted when you upgrade AutoIt in the future.

Of course, you will have regular, verified, backups, so this won't be a problem, will it?

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  
Followers 0