Re: Startup items applet problem
Re: Startup items applet problem
- Subject: Re: Startup items applet problem
- From: Joel Davies <email@hidden>
- Date: Fri, 16 Mar 2001 12:26:36 -0600
>
> And the second applet is:
>
> -------------------
>
> property stored_date : date "Tuesday, May 18, 1999 12:00:00am"
>
> if date string of (current date) date string of stored_date then
>
> activate application "Outlook Express"
>
> end if
>
> set stored_date to current date
>
> -------------------
>
I can't see how that would have ever worked Joel, try this:
>
-------------------
>
property stored_date : ""
>
try --handle empty stored_date
>
if date string of (current date) > stored_date then
>
tell application "Outlook Express" to activate
>
end if
>
on error
>
end try
>
set stored_date to date string of (current date)
>
-------------------
>
___ Andy
>
----------------------------------------------------------------------------
>
aaaah! a yodle from the canyon (a reference to--Yoda(on error handling))
>
----------------------------------------------------------------------------
Oops: the 3does not equal2 character in my scripts disappeared somewhere
between Outlook Express and the list. Asking as a newbie to the list, how do
you all get characters like 3does not equal2 to post?
And thanks, Andy, I should indeed have a try/on error in there.
--
- Joel Davies
- ZGraphics, Ltd.
- East Dundee, Illinois
--