Clock Alert
Posted: Fri Nov 25, 2005 2:35 am
I put together this simple applescript to alert me the time at a given interval of time.
I wasn't able to make the script run at a given interval of time so I just used CronniX to set up a crontab to run this script every 15 minutes. You can also do this using the terminal, but CronniX is so easy to use ;-)
You can also save it as an app.
I'm by no means a professional, but I use this script every 15 minutes so I thought I might share it.
I wasn't able to make the script run at a given interval of time so I just used CronniX to set up a crontab to run this script every 15 minutes. You can also do this using the terminal, but CronniX is so easy to use ;-)
Code: Select all
copy the (current date) to theDate
copy the time string of (theDate) to theTime
copy the date string of (theDate) to theCurrentDate
tell application "GrowlHelperApp"
set the allNotificationsList to ¬
{"Current Time"}
set the enabledNotificationsList to ¬
{"Current Time"}
register as application ¬
"Clock Alert" all notifications allNotificationsList ¬
default notifications enabledNotificationsList ¬
icon of application "WindowClock"
notify with name ¬
"Current Time" title ¬
theTime as string description ¬
theCurrentDate as string application name ¬
"Clock Alert"
end tell
I'm by no means a professional, but I use this script every 15 minutes so I thought I might share it.