# Script/property example?

**URL:** https://www.finalbuilder.com/forums/t/script-property-example/2120
**Category:** Discussion
**Created:** [April 17, 2013, 2:52am UTC](https://www.finalbuilder.com/forums/t/script-property-example/2120 "2013-04-17T02:52:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![markholbrook](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/markholbrook/32/134_2.png) [@markholbrook](https://www.finalbuilder.com/forums/u/markholbrook)
#### Post date: [April 17, 2013, 2:52am UTC](https://www.finalbuilder.com/forums/t/script-property-example/2120/1 "2013-04-17T02:52:50Z")

</div>

Hello,

Using FB 7 integrated with TFS.&nbsp; We are building a couple of older Delphi projects.&nbsp; From what I can see each "action" in FB has some properties that supposedly can be set.&nbsp; For example in the Delphi Build Action there is the property VersionInfoKeys and within that "ProductVersion" is defined.&nbsp;

For one of our projects a team defines the next product version number.&nbsp; IE it is not auto-incremented.&nbsp; We are told this will be 1.0.0.7 or whatever.&nbsp; So I need to set "ProductVersion".&nbsp; Rather than open the script, make the change to the Delphi Build Action, I would like to have a way to feed in the version.&nbsp; I'm sure this is possible but I have yet to find an example of how you update or change the property of a future build action.&nbsp; For example:

Set file attributes

Do another action

Get product version (this might for testing be a simple input box or a program that supplies the version number)

Set Delphi Build Action.VersionInfoKeys[ProductVersion] = %ActionRetrievedAbove%

Delphi Build

Is there an example somewhere of how to do this kind of thing?

---

<div class="post-metadata">

### Author: ![markholbrook](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/markholbrook/32/134_2.png) [@markholbrook](https://www.finalbuilder.com/forums/u/markholbrook)
#### Post date: [April 17, 2013, 5:36am UTC](https://www.finalbuilder.com/forums/t/script-property-example/2120/2 "2013-04-17T05:36:11Z")

</div>

Ok… never mind… After much poking around and fiddling I got this to work.
