Page 1 of 1

Additional Environmentvars for Tools

Posted: Tue Oct 04, 2011 10:27 am
by HeX0R
(I edited my post, because i found another interesting Environmentvariable)

PB_TOOL_TOOLPREFERENCES
It would be really useful, if a loaded Tool knows, from where the tools.prefs has been loaded.
Then it would be possible to add an uninstall-function.

PB_TOOL_COMPILERVERSION
Then your tool can de/activate special features which won't work with any PB-Version

[Edit2]
After thinking a while about it, i guess, i would need also a Var like:
PB_TOOL_IDEVERSION

Re: Additional Environmentvars for Tools

Posted: Fri Sep 04, 2015 9:32 am
by HeX0R
Any chance to add PB_TOOL_TOOLPREFERENCES to PB 5.40?

I want to add a possibility to add my tool to PB Start on-the-fly.

Not sure about other users, but I have quite some PB shortcuts which all use the same tools.prefs but different purebasic.prefs, which makes it difficult for the tool to find out the right directory.