Startup Items applets problem
Startup Items applets problem
- Subject: Startup Items applets problem
- From: Joel Davies <email@hidden>
- Date: Thu, 15 Mar 2001 10:55:10 -0600
Howdy, folks. For several years, I9ve had the two applets shown below in my
Startup Items folder. Both are intended to perform actions only on the first
boot of the day, not subsequent boots, and they activate in the order shown
below. The first applet renames an empty folder on my desktop with today9s
date (because--silly me--I want to have the date permanently displayed
somewhere without having to click in the dang menu bar). The second launches
my email client.
Both these applets worked flawlessly up to OS 8.6. Now, having just upgraded
to OS 9.0, I9m having a weird startup freeze that occurs every other boot!
Removing the second applet from Startup Items cures this behavior.
Anybody know why OS 9, AppleScript 1.4.3, would cause these applets to break
in this manner? Or is my amateur scripting the problem?
The first applet is:
-------------------
set todays_date to month of (current date) & " " & day of (current date) &
", " & year of (current date) as string
property current_folder_name : string "April 3, 2000"
if todays_date current_folder_name then
tell application "Finder"
set the name of folder current_folder_name of desktop to todays_date
set current_folder_name to todays_date
end tell
end if
-------------------
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
-------------------
--
- Joel Davies
- ZGraphics, Ltd.
- East Dundee, Illinois
--