Title: Re: AppleScript to enhance shutdown schedule?
On 4/25/02 9:01 AM, I wrote:
> Whoa! I sent you a perfect unbuggy solution at the same time as Barry did.
> You've just ignored it the whole time. Did you never get it?
Well, I've noticed before you never reply to me. Never mind.
Here it is yet again, in HTML, so you won't have line ending problems when pasting into Script Editor:
--------------script---------------
set sentDate to (current date) - (3 * days) -- will keep updating
tell app "Microsoft Entourage"
delete every message of deleted mail folder where its category contains {category "Something"} and its sent time is less than sentDate
end tell
---------end script----------------
BTW, "its" works just fine. It's actually the correct syntax, Barry notwithstanding. Unfortunately, Apple allows "it's" to function in its place, by coercion, instead of erroring. AppleScript is a little too forgiving that way at times.
--
Paul Berkowitz
- AppleScript to enhance shutdown schedule? Adam Bailey
- Re: AppleScript to enhance shutdown schedule? Barry Wainwright
- Re: AppleScript to enhance shutdown schedul... Adam Bailey
- Re: AppleScript to enhance shutdown sch... Barry Wainwright
- Re: AppleScript to enhance shutdown... Adam Bailey
- OT: it's (was AppleScript to e... Jan Martel
- Re: AppleScript to enhance shu... Paul Berkowitz
- Re: AppleScript to enhance shu... Paul Berkowitz
- Re: AppleScript to enhance... Beth Rosengard
- Re: AppleScript to enhance... Adam Bailey
- Re: AppleScript to enh... Paul Berkowitz
- Re: AppleScript to enh... Beth Rosengard
- Re: AppleScript to enh... Adam Bailey
- News servers in folder list Mr Tea
- Re: News servers in folder... Diane Ross
- Re: News servers in fo... Mr Tea
- Re: News servers in fo... Christian M. M. Brady
- Re: News servers in folder... Allen Watson
