The Build Automator Forums
February 05, 2012, 05:40:38 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: System Variable  (Read 1907 times)
smpete33
Newbie
*
Posts: 6


View Profile
« on: November 19, 2008, 12:08:12 pm »

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.
Logged
Arnor Baldvinsson
Administrator
Jr. Member
*****
Posts: 65


View Profile Email
« Reply #1 on: November 19, 2008, 01: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,
Logged

Arnor Baldvinsson - Icetips Alta LLC
Arnor Baldvinsson
Administrator
Jr. Member
*****
Posts: 65


View Profile Email
« Reply #2 on: March 05, 2009, 02: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,
Logged

Arnor Baldvinsson - Icetips Alta LLC
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!