Script/property example?

Hello,

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

For one of our projects a team defines the next product version number.  IE it is not auto-incremented.  We are told this will be 1.0.0.7 or whatever.  So I need to set "ProductVersion".  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.  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.  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?

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