wiki:Documentation/ARexxAPI/WRITEFROM

Version 2 (modified by AmigaPhil, 11 months ago) (diff)

--

Languages:

WRITEFROM

NAME

WriteFrom -- Enter a name, address or alias into the "From" field of the Write window. (V2.0)

TEMPLATE

ADDRESS/A

FUNCTION

Enters a name, address or alias into the "From" field of the Write window, replacing its old contents, if any. YAM will resolve the name or alias looking in the address book.

INPUTS

ADDRESS/A - name, address or alias

RETURNS

RC is set to 10 if no Write window was previously specified as "active" with MAILWRITE ? or if an attempt is made to enter more than one sender.

NOTES

EXAMPLE

/* Set the sender of a letter */

MAILWRITE WINDOW 0 /* Set the active Write window */
WRITEFROM 'jdoe'

BUGS

SEE ALSO

MAILWRITE ?