by Mark Schonewille <nospam@[EMAIL PROTECTED]
>
Aug 12, 2004 at 03:58 PM
Hi Jamie,
I suppose you have a script like this, somewhere:
on idle
if fld "Digital Clock" is not the short time then
put the short time into fld "Digital Clock"
end if
pass idle
end idle
You could adjust it as follows:
on idle
if fld "Digital Clock" is not the short time then
put the short time into myTime
put myTime into fld "Digital Clock"
if myTime is "13:00" then
makeAnnouncement
end if
end if
pass idle
end idle
The above script puts the time into a field if it is different
from the current time and executes another handler if the time
equals "13:00". By putting the time into a variable first, we
make sure that it will also work with seconds (the long time).
The handler to be executed could be:
on makeAnnouncement
go stack "Announcements" in new window
put "Welcome back from lunch!" into fld 1
end makeAnnouncement
I hope this helps to get you started.
Best,
Mark
Jamie Leclerc wrote:
> I have the basic digital clock set on one card and I want it to break
> away to another stack at specific times for rolling announcements.
> How can this be done??? Please help :)
--
eHUG coordinator
http://home.wanadoo.nl/mark.schhttp://www.ehug.info