Set Argument
Assign a custom variable for use by the following sub-actions

Set Argument Dialog
Parameters
Variable Name
Text required
Enter the name of the variable you want to set.
Do not add the %percent%
symbols. Those only allow you to access your variable in later sub-actions
Value
Text required
Enter the new value to store with the given variable name
You can use other Variables or even manipulate existing arguments with Inline Functions
Auto Type
Toggle
Default:
true
By default, all values are treated as text, or string
variables.
Enable Auto Type
to automatically determine the type for the entered value.
For example:
0
can be auto-typed to a numeric type such asint
orlong
true
orfalse
can be auto-typed to abool
C# Usage
Set an argument to be used in subsequent sub-actions
public void SetArgument(string variableName, object value)
variableNamestring required Name of the argument you are assigning a value to
valueobject required Value assigned to the argument
using System;
public class CPHInline
{
public bool Execute()
{
//Have a variable you want to set as argument
string test = "This is a test";
//Set the argument name and value of argument
CPH.SetArgument("testArgument", test);
return true;
}
}