• 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: Startup items applet problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
--


  • Follow-Ups:
    • Re: Startup items applet problem
      • From: Rob Jorgensen <email@hidden>
  • Prev by Date: Re: Folder colours
  • Next by Date: Re: Program Linking as a guest (Solution: AutoGuest)
  • Previous by thread: Re: Mounted Volumes
  • Next by thread: Re: Startup items applet problem
  • Index(es):
    • Date
    • Thread