I added "Execute PowerShell Script" action to my FinalBuilder project. Manual says that I can access FinalBuilder variables using following syntax (entered in Specify Script
area):
$FBVariables.GetVariable("VarName")
But the problem is $FBVariables
in my case is always null
, I mean following statement returns True
:
$FBVariables -eq $null
I have no idea what I am doing wrong.
$FBVariables
is not available in theExecute PowerShell Script
action.You will have to use the
Run Script
( orExecute Script
in older versions I think) action, set language to Powershell in theScript Editor
tab and here you can use#FBVariables
http://www.finalbuilder.com/Default.aspx?tabid=456&aft=9647#10952