Author Topic: System Variable  (Read 5292 times)

smpete33

  • Newbie
  • *
  • Posts: 6
    • View Profile
System Variable
« on: November 19, 2008, 11:08:12 AM »
Would it be possible to create a system variable for the path of the aprj file that has been opened?  Using path() in expressions returns the path of Build Automator.

Arnor Baldvinsson

  • Administrator
  • Jr. Member
  • *****
  • Posts: 65
    • View Profile
    • Email
Re: System Variable
« Reply #1 on: November 19, 2008, 12:51:14 PM »
Hi,mpete33

Would it be possible to create a system variable for the path of the aprj file that has been opened?  Using path() in expressions returns the path of Build Automator.

Yes, that should be easy.  Something like $PROJECTPATH$, $PROJECTFILE$ and $PROJECTGUID$ would give you all the paths and filenames for the current project and it's associated data folder.  Thanks for the suggestion:)

Best regards,
Arnor Baldvinsson - Icetips Alta LLC

Arnor Baldvinsson

  • Administrator
  • Jr. Member
  • *****
  • Posts: 65
    • View Profile
    • Email
Re: System Variable
« Reply #2 on: March 05, 2009, 01:58:22 AM »
I've added:

$_Proj_Path$  - The path to the project file
$_Proj_File$ - The project filename
$_Proj_Long_FileName$ - Long full path + filename
$_Proj_Short_FileName$ - Short full path + filename
$_Proj_Date_Created$ - Create date in yyyy-mm-dd format
$_Proj_Time_Created$ - Create time in hh:mm:ss format
$_Proj_Date_Updated$ - Last update date in yyyy-mm-dd format
$_Proj_Time_Updated$ - Last update time in hh:mm:ss format

for next release:)

Best regards,
Arnor Baldvinsson - Icetips Alta LLC