# Compile Delphi Action and UseProjectSettings option

**URL:** https://www.finalbuilder.com/forums/t/compile-delphi-action-and-useprojectsettings-option/1685
**Category:** Discussion
**Created:** [January 14, 2011, 11:51am UTC](https://www.finalbuilder.com/forums/t/compile-delphi-action-and-useprojectsettings-option/1685 "2011-01-14T11:51:58Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![traptak](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/dec6dc/32.png) [@traptak](https://www.finalbuilder.com/forums/u/traptak)
#### Post date: [January 14, 2011, 11:51am UTC](https://www.finalbuilder.com/forums/t/compile-delphi-action-and-useprojectsettings-option/1685/1 "2011-01-14T11:51:58Z")

</div>

Hello,

I'm using FB 7.0. I want to set option:&nbsp;Load Settings from project File (Version Information) for the Build Delphi Win32 Project action. In script editor I have found action property: UseProjectSettings but it is not described in the help topic. Is it correct property for this purpose? How to use it?

best regards

Adam Siwoń

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [January 18, 2011, 10:52am UTC](https://www.finalbuilder.com/forums/t/compile-delphi-action-and-useprojectsettings-option/1685/2 "2011-01-18T10:52:24Z")

</div>

Hi Adam,   
  
 The latest official release has been updated to allow the UseProjectSettings property to be set from script, here is an example on how to use it in Javascript:   
  
 // Enable loading both Compiler and Directories settings from project file   
 Action.UseProjectSettings = usCompiler | usDirectories;   
  
 Download the latest release from:   
 [https://www.finalbuilder.com/download.aspx](https://www.finalbuilder.com/download.aspx)   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![traptak](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/dec6dc/32.png) [@traptak](https://www.finalbuilder.com/forums/u/traptak)
#### Post date: [January 19, 2011, 1:33am UTC](https://www.finalbuilder.com/forums/t/compile-delphi-action-and-useprojectsettings-option/1685/3 "2011-01-19T01:33:05Z")

</div>

Hi Paul,

> The latest official release has been updated to allow the UseProjectSettings property to be set from script, here is an example on how to use it in Javascript:

   
  
 Ok. I have this version.   
  
 

> // Enable loading both Compiler and Directories settings from project file   
> Action.UseProjectSettings = usCompiler | usDirectories;

   
  
 But I need to set the Version Information from project settings. So I should set usVersionInformation value or this is impossible?   
  
 best regards   
 Adam Siwoń

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [January 19, 2011, 10:20am UTC](https://www.finalbuilder.com/forums/t/compile-delphi-action-and-useprojectsettings-option/1685/4 "2011-01-19T10:20:05Z")

</div>

Hi Adam,   
  
 Sorry I should of mentioned all the possible values;   
  
 usPackages   
 usCompiler   
 usLinker   
 usDirectories   
 usVersionInfo   
  
 Pressing Ctrl-Space should bring up the auto-completion window and show you the possible values.   
  
 Regards,   
 Paul.
