h711 Posted September 12, 2008 Share Posted September 12, 2008 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! Link to comment Share on other sites More sharing options...
dbzfanatic Posted September 13, 2008 Share Posted September 13, 2008 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. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
Andreik Posted September 13, 2008 Share Posted September 13, 2008 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. Link to comment Share on other sites More sharing options...
h711 Posted September 13, 2008 Author Share Posted September 13, 2008 Thanks!! Link to comment Share on other sites More sharing options...
Confuzzled Posted September 14, 2008 Share Posted September 14, 2008 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? Link to comment Share on other sites More sharing options...
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