Running external action with custom command line parameters

Hi

Is it possible to get the path to executable, defined in action and run the executable with additional command line parameters (which are not supported by Final Builder)?

For example, Smartassembly Improve + Protect Assembly. I would like to run it with -Input and -Output command line parameters, however the action supports only project file parameter. Is it possible to get the configured action executable from Final Builder settings and run it manually?

 

Thanks,
Zvonko

You can use script to access the options and get the path, it’s not well documented :

[code]var oSmartAssemblyOptions = GetOptionsObject("{smartassembly}").Properties;if (oSmartAssemblyOptions != null){ Action.ProgramName = oSmartAssemblyOptions.PropertyAsString(“Location”);;}[/code]

Put the above code in the the beforeAction script event, set the script language to JavaScript.

We’ll add support for the options in the next few days… they appear to be only in the most recent release as far as I can tell.

Hi Zvonko

I have added the input and output options to the smart assembly action. You can find this feature in the following build:
https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_1421.exe

Regards,
Steve