• 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: Entourage - save calendar as web page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entourage - save calendar as web page


  • Subject: Re: Entourage - save calendar as web page
  • From: Paul Berkowitz <email@hidden>
  • Date: Sat, 15 Nov 2008 13:14:33 -0800
  • Thread-topic: Entourage - save calendar as web page

It works. It's just that the dictionary erroneously states that the 'to'
parameter is optional. It isn't - you have to tell it where to save.
(Probably there should be a default location, but there isn't one.)

set calFile to ((path to desktop as text) & "Calendar.htm")

tell application "Microsoft Entourage"
    save calendar as web page to calFile
end tell


Weirdly, if you don't include an .htm extension (which means it opens in
Safari or whichever is your default browser), it opens in Internet Explorer
if you've still got it on your computer!

The reason I put the (path to desktop as text) outside the Entourage tell
block is that if you put it inside, it compiles as (path to desktop
recipient type text). It still works, but looks weird (and won't compile if
you later edit the script). That's an old, old bug in Entourage that can't
be fixed.

--
Paul Berkowitz


> From: Matt Dunn <email@hidden>
> Date: Fri, 14 Nov 2008 12:56:55 -0500
> To: AppleScript-Users <email@hidden>
> Subject: Entourage - save calendar as web page
>
> Hi All,
>
> Has anyone scripted Entourage's "save calendar as web page" feature?
> The Entourage dictionary entry seemed straight forward to me but I
> continually get "Microsoft Entourage got an error: An error of type -1
> has occurred."
>
> Any help would be appreciated.
>
> Matt Dunn
>  _______________________________________________
> 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


 _______________________________________________
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

References: 
 >Entourage - save calendar as web page (From: Matt Dunn <email@hidden>)

  • Prev by Date: Skip the eventual two Finder floating windows [Leopard]
  • Next by Date: Where is application dialog
  • Previous by thread: Entourage - save calendar as web page
  • Next by thread: [Finder] Menu localization difference on Leopard vs Tiger
  • Index(es):
    • Date
    • Thread