• 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: Post to Exchange Public Folder Using Entourage 2004
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Post to Exchange Public Folder Using Entourage 2004


  • Subject: Re: Post to Exchange Public Folder Using Entourage 2004
  • From: "Alatorre, Michael" <email@hidden>
  • Date: Thu, 24 Aug 2006 09:51:40 -0700

On 8/22/06 3:25 PM, "Alatorre, Michael" <email@hidden> wrote:

> Would anyone on the list have a script/examples for creating a post (with
a
> file attachment) to an Exchange public folder? I'm using Entourage version
> 11.2.5. It's been awhile and I'm brain-locking trying to decipher its
> dictionary. TIA

With help (and thanks to) from Barry Wainwright and Paul Berkowitz in the
Entourage Goggle Group <microsoft.public.mac.office.entourage>, this has
been solved. First off, you must make the specific Public Folder a favorite.
Then, as stated by Barry, "It's possible, but it needs an ugly hack to work
round what I suspect is a bug in Entourage." See below (watch for line
wrap):
-----
tell application "Microsoft Entourage"
        set theAccount to first Exchange account
        set favFolder to favorites folder of theAccount
        set theDestination to folder 1 of favFolder
        set newPost to make new outgoing message at end of theDestination
           with properties {subject:"Test Post", Exchange post:true}
        set postFile to "Macintosh HD:Users:Shared:Out:Report Jul 06.pdf"
        make new attachment at newPost with properties {file:postFile}
        move newPost to theDestination
end tell
-----
"If you tell Entourage to 'make new post' anywhere but an exchange folder,
the script errors, saying posts have to be made in an exchange folder, but
the post is created in the local Drafts folder! (so, the error message is
lying <g>)

That is why I make the post at the end of 'thedestination', and then
immediately move it into 'thedestination'

All other properties of the post, including attachments can be made in the
normal way."--Barry

Thank you again to all.
--
Michael Alatorre
EIS Liaison Analyst
Department of Medical Affairs
Cedars-Sinai Health System
w: 310-423-6237  f:310-423-0448




 IMPORTANT WARNING: This message is intended for the use of the person or
entity to which it is addressed and may contain information that is
privileged and confidential, the disclosure of which is governed by
applicable law.  If the reader of this message is not the intended
recipient, or the employee or agent responsible for delivering it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this information is STRICTLY PROHIBITED.

  If you have received this message in error, please notify us immediately
by calling (310) 423-6428 and destroy the related message.  Thank You for
your cooperation.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Post to Exchange Public Folder Using Entourage 2004 (From: "Alatorre, Michael" <email@hidden>)

  • Prev by Date: Re: New to AppleScript, looking to login as a different user...
  • Next by Date: Printing Microsoft Word to a PDF
  • Previous by thread: Post to Exchange Public Folder Using Entourage 2004
  • Next by thread: Internet Connect problem
  • Index(es):
    • Date
    • Thread