Re: Scripting E'rage
Re: Scripting E'rage
- Subject: Re: Scripting E'rage
- From: Stephen Swift <email@hidden>
- Date: Sun, 27 Jan 2002 23:37:17 -0500
- Method-key: Ydco m.ooai. jrm.o uprm yd. e.ot ru Oy.ld.b Xgpbdam O,cuyv
At 1/27/02 11:09 PM, Paul Berkowitz (email@hidden) Wrote:
>
> set blah to new file
>
> tell application "Microsoft Entourage"
>
> save custom view "Messages Received Today" in blah
>
> end tell
>
> --file is empty (0k) and no messages appear on import
>
>
>
>
>
set fileSpec to (path to desktop as string) & "Mail Received Today"
>
tell application "Microsoft Entourage"
>
save custom view "Mail Received Today" in fileSpec
>
end tell
>
>
This works perfectly in Entourage X. Are you sure it doesn't in 2001?
This works. Thanks. I guess E'rage didn't like the way I found my alias.
Setting the exact alias string makes more sense anyway. It still bothers me
that it would save the custom view as a blank file before, but oh well, it's
fixed. Let sleeping dogs lie.
>
>
In Entourage X, you can also import the mbox files back into Entourage by
>
script, BTW, with the new 'import' command.
Sure, rub it in Paul. :-) I'll update one of these days.
Stephen Swift
email@hidden
-----------------------------------------------
AppleScript Guru - The Mac Observer
http://www.macobserver.com/tips/applescript