Re: Microsoft Outlook 2011 - Changing Subject field
Re: Microsoft Outlook 2011 - Changing Subject field
- Subject: Re: Microsoft Outlook 2011 - Changing Subject field
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 27 Mar 2015 12:02:37 -0700
- Thread-topic: Microsoft Outlook 2011 - Changing Subject field
On 3/26/15, 12:28 PM, "Dave" <email@hidden> wrote:
> With Outlook, how can I get the message represented by an Open Window.
I¹m
> trying to write a script that changes the subject of the message in the front
> window of Outlook.
I can¹t seem to find the right syntax.
I don't have Outlook, but I do have an early version of its dictionary. It
seems to have some changes from its predecessor Microsoft Entourage. In
Entourage, what you're talking about was known as a 'draft window', but that
appears to be gone in Outlook. (In any case, it was pretty difficult to
specify which draft window you had in mind if there's more than one open,
other than by the title which it seems you may not know in this case.)
I notice that in Outlook, the 'outgoing message' class has a new property
'was sent', which is a boolean. That provides a way of differentiating
between sent messages and those that have not been sent ('without was sent',
or 'was sent false'). It sounds to me as if the new term for an open message
window you're composing would be an 'outgoing message' whose 'was sent' is
false. I don't have Outlook so I can't check this, but you can.
It would also mean that, unlike Entourage's 'draft window' which is just
sort of floating around with no location other than as an element of the
application, an 'outgoing message' has to have been created somewhere -
likely, by default if you haven't specified, in the 'drafts' [folder] of its
account or of the default account, if IMAP or Exchange, ( possibly the local
'drafts' folder if that still exists divorced from accounts in Outlook, if a
POP account). That would provide an alternate way of specifying which
outgoing message (window) if there's more than one is open.
The easiest way would likely still be to specify the 'outgoing message' by
subject if you know it, and then set the subject to what you want.
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden