Jump to content

Is there a way to concatenate a user include directory


Recommended Posts

Is there a way to concatenate (old OS/360 mainframe term) a user include directory to the AutoIt include directory so that all uses of the AutoIt compiler access it as well as the AutoIt include directory.

I have a directory of private UDFs that I would prefer not propagating to various project directories nor do I want to place them in the AutoIt include directory.

Through searching the forums and the help files I haven't been able to find anything on this.

All my compiling is done through SciTE.

Regards,

Jim

Link to comment
Share on other sites

Hi,

so you are looking for something that organizes your includes automatically?

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

Link to comment
Share on other sites

But searching the help file would have given you a solution.

Keywords >> #include

There is a special registry value that can be created at "HKEY_CURRENT_USER\Software\AutoIt v3\AutoIt" called "Include". It should be a REG_SZ (string) value. The contents of this value are a semi-colon delimited list of directories that should be searched for files when resolving #include's in addition to the standard locations.

I use that solution and it works just fine. As a matter of fact I also imported all of my XP settings for AutoIt into Windows 7 to save me having to do double installs and it works fine there as well.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

SciTEConfig has the option to update this registy entry. ;)

Sure, now you tell me. How many other goodies have you been keeping me in the dark about?

EDIT: You need a menu item that just imports all the registry settings for AutoIt and Scite from one OS to another.

Edited by GEOSoft

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

  • Developers

Sure, now you tell me. How many other goodies have you been keeping me in the dark about?

Yea, I guess that could be added to the Helpfile. ;)

I see I only documented the Color/Font option, but haven't documented the rest. (Guess I was waiting for the secretary to work on a draft :evil:

EDIT: You need a menu item that just imports all the registry settings for AutoIt and Scite from one OS to another.

That could be a nice abd relative simple script to /export and /import all possible settings for AutoIt3 and SciTE.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Yea, I guess that could be added to the Helpfile. ;)

I see I only documented the Color/Font option, but haven't documented the rest. (Guess I was waiting for the secretary to work on a draft :evil:

That could be a nice abd relative simple script to /export and /import all possible settings for AutoIt3 and SciTE.

Jos

Added to my active projects as #33 but I may set the priority higher since I'm almost ready to switch systems again.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...