Additional Environmentvars for Tools

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
HeX0R
Addict
Addict
Posts: 1189
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Additional Environmentvars for Tools

Post 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
User avatar
HeX0R
Addict
Addict
Posts: 1189
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: Additional Environmentvars for Tools

Post 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.
Post Reply