I'm trying something very similar, but (due to delayed actions), want the date/time action to be activated 12 minutes before the time specified.
set datestring to datestring - 12 doesnt seem to work, as datestring is not a number.
I attempted this coding, but didnt seem to have much luck :
set timeMinutes to timeMinutes - 12
if timeMinutes < 0 then
set timeMinutes to 60 + timeMinutes
set timeHours to timeHours - 1
if timeHours = -1 then
set timeHours to 23
end if
end if
and set timeString to timeString - (date "Tuesday, October 21, 2008 00:12:00") auto enters todays date when compiled, so i'm not convinced this will work effectively tommorow.
What i want to do is probably really simple. Any help?
