Brass Plugins: Mime
Supported Directives: Processing
- Pause directive processing
This directive pauses the processing of a directive
string for up to 1 second (1000 milliseconds).
The format of the directive is:
[PauseProc(milliseconds
to pause)]
The only parameter is the milliseconds to pause execution for.
A maximum of 1000 milliseconds is allowed, anything higher will
be ignored and processing will pause for 1 second only.
This directive is handy if you need to wait for an action to complete,
or for an application to load.
Examples
Pause for half a second:
[PauseProc(500)]
Open the Brass website, pause for 1 second, then emulate pressing
F5:
[Run(http://www.amazingbrass.co.uk)]%%[PauseProc(1000)]%%{F5}
Technical Notes
The pause is only approximate and is not guaranteed
to be the exact length of time you specify, although it will be
close. This is a byproduct of Windows and not a bug in Mime.
If you need to pause for longer than 1 second,
chain multiple PauseProc() directives together:
[PauseProc(1000)]%%[PauseProc(1000)]
A maximum of 1 second is allowed for each individual
directive because the act of pausing exection also prevents further
gestures from being processed. You should avoid long pauses where
possible. This directive should only really be used in "emergency"
situations.
|