WinScript Live Command Reference Page 71
Name of Variable to
store result
Format String: "hello
%s %d"
Data2's "Format String" is made up of placeholders that indicate where and how the variables in
Data3-DataN should be inserted. The table below shows what % character should be used to
format the string. In general, %s will work for most cases.
Inserts the text in string format. Hex characters are
converted into ASCII printable characters like "h0D".
Inserts time in the format "00:00:02.01"
Inserts the number of frames – ie: 61
Inserts number without leading zeros or spaces. To add
leading zeros, use %0nD where "0" indicates to pad
with zeros and "n" is number of zeros to pad. For
example: %03d will insert the number 2 as 002.
Inserts the number as a hex string. For example, the
number 11 would be inserted as 0B.
No conversion to ASCII will be made, and the number
will be placed in the string. For example, the number
13 (hex 0D) will be inserted as a Hard Return.
Inserts one decimal place OR number of places
specified after "." preceding "f". For number 1.12345,"
%.1f" inserts 1.1. "%.2f" inserts 1.12. "%.4f" inserts
1.1234.
"true" or "false" will be printed
"1" or "0" will be printed
Inserts in the format: month/day/year hours:minutes
Inserts string including % character. ie: 100%
Inserts decimal percentage, shows 25% as .25
Set Variable =
Sets the value of a Variable to a constant value or to the value of another Variable. If they are
different variable types, the will be converted. Decimal values are truncated when set to Integer
types. Timecode variables will convert to number of frames for Integer types.
Constant value <or> Name of
another Variable