[comp.sys.mac.hypercard] Weekly Calendar Stack question

PJORGENS%COLGATEU.BITNET@CORNELLC.cit.cornell.edu (04/17/89)

>>From: ra_robert@gsbacd.uchicago.edu
>Subject: Getting Weekly Calendar Stack to Open to Current Date
>Date: 29 Mar 89 20:33:27 GMT
>
>This is a terribly simple question: I'm having a small prob using HyperCard's
>built-in weekly calendar stack: it always opens to the last card in the stack,
>although my Mac's clock says this is late March (which it is :->).
>
>What can I do to get it to open automatically to today's date?  Or if that
>isn't possible, how can I quickly go to today's date.  Going through all the
>cards from August to March ain't fun.

Your stack should automatically open to the correct week.  If it doesn't then
perhaps the button that is opening it ... are you opening it with the button
that came on the Home Card?  When you open that stack you must also send the
following message: (if you want it to go to the current week.)

   goweekly the Seconds

You can put this into the script of whatever button you are using to access the
stack (after you have opened the stack), or into the OpenStack handler of the
DateBook Stack Script.  Look at the script of the button supplied on the Home
Card for an example.

Peter Jorgensen
Microcomputer specialist
Colgate University - Hamilton, NY 13346
AppleLink - U0523
BITNET - PJORGENSEN@COLGATEU
tel - 315-824-1000 ext 742