wiki:Documentation/ARexxAPI/WRITECC

Version 1 (modified by AmigaPhil, 14 months ago) (diff)

--

WRITECC

NAME

WriteCC -- Enter one or more names, addresses or aliases into the "Copies to" field of the Write window. (V2.0)

TEMPLATE

ADDRESS/A/M,ADD/S

FUNCTION

Enters one or more names, addresses or aliases into the "Copies to" field of the Write window. YAM will resolve names and aliases looking in the address book.

INPUTS

ADDRESS/A/M - list of names/addresses/aliases
ADD/S - prevent the new data from replacing the old data already present in the "Copies to" field

RETURNS

RC is set to 10 if no Write window was previously specified as "active" with MAILWRITE ?.

NOTES

EXAMPLE

/* Adds some CC recipients to a message */

MAILWRITE WINDOW 0 /* Set the active Write window */
'WRITECC "George Bush" "jdoe" "carol@…" ADD'

BUGS

SEE ALSO

MAILWRITE ?