Why a GlobalPaths Plugin?
Well, have you ever noticed that the _SourceFolder global variable doesn't always to the trick? Although it has many situations in which it works well, it is not always reliable which makes accessing its sub-folders impossible at times.
Of course, this depends entirely on whether or not the project is compiled and what type of compiling method you use (Web/Exe, Hard Drive etc.).
But wouldn't things be simpler if you never had to consider that issue? I would say...Yes!
Additionally, your path variables are shortened (just a little beneficial side effect of using the plugin).
What the GlobalPaths Plugin Does
Fortunately there is a solution...A GlobalPath Solution. I have been using this script for over a year now and would not build a project without it. Once it has been run, you never have to worry about where your folders are located again.
Your Docs folder is always _Docs. The same goes for _Audio, _Scripts, _ExeFolder and all the rest no matter if and how your project is compiled. No scripting is needed either, simply activate the plugin and you're ready to go.
Optional Integration
I have included, in the help file, a way to add the GlobalPaths global variables to Intellisense if you so desire (although this step is not necessary).
As always, please feel to send me any bug reports or suggestions.
So there you go...Problem solved!
Enjoy!![]()

Reply With Quote

no probs ever
