wiki:Documentation/ARexxAPI/WRITETO

Version 3 (modified by AmigaPhil, 9 months ago) (diff)

--

Languages:


ARexx API

    WRITETO

    NAME

    WriteTo -- Enter one or more names, addresses or aliases into the "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 "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 "To" field

    RETURNS

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

    NOTES

    EXAMPLE

    /* Set the primary recipients of a message */

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

    BUGS

    SEE ALSO

    MAILWRITE ?