configure tools %ProjectFile
configure tools %ProjectFile
Would be nice to have a %PROJECTFILE token.
Re: configure tools %ProjectFile
Tools can make use of the PB_TOOL_Project environment variable.
And there is also %PROJECT
And there is also %PROJECT
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{History Viewer Online}.:|:.{Send a Beer}
Re: configure tools %ProjectFile
%PROJECT is only the directory....
What if there are multiple projects in the same directory?
What if there are multiple projects in the same directory?
Re: configure tools %ProjectFile
The environment variable contains path and filename!jassing wrote: Sat May 11, 2024 1:11 am %PROJECT is only the directory....
What if there are multiple projects in the same directory?
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{History Viewer Online}.:|:.{Send a Beer}
Re: configure tools %ProjectFile
not here,6,10lts, 6.11b2 x64
I created a simple tool:
Code: Select all
MessageRequester("test",PeekS(GetCommandLine_()))
I switched to a file in the project.
I ran the tool.
I got the directory only.
The Info Button wrote:%PROJECT : The directory where the project file resides if there is an
open project.
Re: configure tools %ProjectFile
I was talking about environment variables!
Code: Select all
MessageRequester("test",GetEnvironmentVariable("PB_TOOL_Project"))
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{History Viewer Online}.:|:.{Send a Beer}
Re: configure tools %ProjectFile
I was unaware of that.. thanks!