Piz
Joined: 16 Feb 2008 Posts: 46
|
Posted: Tue Mar 04, 2008 12:19 am Post subject: Function Libraries and #Include Behavior |
|
|
Maybe I'm missing something, but it seems to me that there's an inconsistency between the way function libraries work and the way #include works. If a file to be included via #include doesn't have a full path, it's assumed to be in the startup/working directory. However the function library mechanism refers to %A_MyDocuments%\AutoHotkey\Lib\ and path-to-the-currently-running-AutoHotkey.exe\Lib\. Also, ahk2exe makes a completely different assumption about the default location of an #included file - the directory containing the script being compiled.
None ever looks at the others' locations. Seems to me that they should, or that a different, unifying scheme should be adopted.
Thoughts? |
|