Main Help →
GENerel Commmands →
Set Command
Set Command
The Set command sets one or more properties of the current cell.
Set #1,#2,<#3,#4>,<#5,#6>
where
- #1 is the name of a property. See the cell information for properties available for each type of cell.
- #2 is the value of a property
- Additional pairs of names and properties can be set in additional pairs of arguments such as <#3,#4>, <#5,#6>, etc.
Notes
- When setting only one property, the "Set" word is optional. For example the following two commands are identical
Set width 100
width 100
But, to set more than one property in a single command, the "Set" is required.
- All properties take a single argument. If an argument has spaces (such as named fonts), the value must be enclosed in quotes.
- Some cell features require more than one value to be set (such as MenuItems) and some require no properties (such as SizeToFit). These properties have their own commands and do not use the "Set" command.