• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: funny FM/AS/OE behavior - Help!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: funny FM/AS/OE behavior - Help!


  • Subject: Re: funny FM/AS/OE behavior - Help!
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 10 Dec 2002 16:28:11 -0800

On 12/10/02 3:59 PM, "Gary Lists" <email@hidden> wrote:

> On or about 12/10/02 12:37 PM, Daniel Rautmann wrote:
>
>> tell application "FileMaker"
>>
>> set bccList to cell "radiopromo_bcclist" of
>> current record
> ...
>> set newMsg to make new draft window with
>> properties {subject:theSubject, content:theContent,
>> recipient:"email@hidden", BCC recipients:bccList,
>> attachment:attachmentList}
>
> Daniel,
>
> I don't have OE installed anymore but the thing I notice is that BCC
> recipients is getting 'bccList' but that doesn't appear to be a list.
>
> If you are getting this data from a repeating cell (it looks like, from the
> 'set bccList to...' statement), then you'll have to remember that those come
> out of FM as return-separated, not comma separated.
>
> Others (Paul B.) will know better about the property record for OE, but it
> most probably expects a list there for BCC (even if it's a one-item list).

No it doesn't, Nor does ' BCC recipients' property of draft window in
Entourage, either. You have Entourage - take a look. 'draft window' wants a
comma- (or comma-space-) delimited string for 'to recipients', 'cc
recipients', 'bcc recipients'. Unlike 'outgoing message', which has a
completely different (and complicated) setup for recipient, which are really
elements of a message but can be included a property - a list of records -
when making outgoing messages. You were probably thinking of outgoing
message.

So the error is that Daniel included 'recipient' as a property of draft
message. That should be 'to recipients':

tell app "Outlook Express"
set newMsg to make new draft window with
properties {subject:theSubject, content:theContent,
to recipients:"email@hidden", BCC recipients:bccList,
attachment:attachmentList}
end tell

If the content is complete, you don't need you open it up on the screen. You
could make a message and send it without opening it. But then you would have
to turn bccList into a list of records.


--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re:Strange "bug": Scripting QT Player 6 and setting chapter tracks
  • Next by Date: Re: GraphicConverter & saving files in new places
  • Previous by thread: Re: funny FM/AS/OE behavior - Help!
  • Next by thread: Re: funny FM/AS/OE behavior - Help!
  • Index(es):
    • Date
    • Thread