Re: Mail
Re: Mail
- Subject: Re: Mail
- From: "J.B. Stewart" <email@hidden>
- Date: Mon, 21 Jan 2002 09:31:29 -0500
On Monday, January 21, 2002, at 08:50 , Gregory Tucker wrote:
>
Hi,
>
>
I am a newbie with Applescript. (I converted to OS X from Windows only
>
a couple months ago.) I apologize if I use incorrect terms.
>
>
The sample script for (OS X) Mail, to send an email, works. However the
>
send window remains open. Is there another command to close this window?
>
>
In general is there documentation on messages / commands supported by
>
the applications? I have only found language reference documentation so
>
far.
>
>
Greg
>
Assuming you are referencing the script example that Apple posted on
their site then this will close the window -
close window (subject of this_message) saving no
Insert it into the script immediately after the line that sends the
email. By the way, 'saving' has a parameter of 'no' (as shown above)
which causes the window to close immediately, you can change that to
either 'yes' or 'ask'. 'yes' will always try to save the email, 'ask'
will prompt you for what you what to do with it.
As for documentation, look in the Script Editor's File menu at the Open
Dictionary selection. It will supply a listing of applications and
scripting additions, selecting one of them will open it's aete
dictionary which is the command set and parameters for that application
or scripting addition.
John
- Follow-Ups:
- Re: Mail
- From: Gregory Tucker <email@hidden>
- Re: Mail
- From: Gregory Tucker <email@hidden>
References: | |
| >Mail (From: Gregory Tucker <email@hidden>) |