Stamps are complete actions designed for easy re-use, defined in snippets of action code. They enable the user to
- set many attributes at once.
- use conditions, shell scripts and macros for more complex tasks.
Stamps are defined/edited via the Stamps pane of the Attributes dialog. Stamps can be called by:
- The Stamps menu; only available when a major view (other than a text window) has focus.
- Action code (but only pre v5.10.2).
In the case of the latter simply cite the Stamp name:
$MyString = s_Stamp;
or even
s_Stamp;
if the stamps action is a stand-alone action (e.g. a command line call).
Stamps are limited to 255 characters. Longer action code expressions must be stored as rules or some such.
A stamp reference can also be mixed with other action code. From v5.10.2, stamps can no longer be called from within other action code.
In naming your stamps think about making the names clear so they don't clash with things like operator or attribute names. Stamp names are case sensitive. As they aren't usually seen in major views, there's no need to 'pretty' names, making it easier to use something like a common prefix to stamp names (such as 's_') so that they stand out clearly in code.