[comp.sys.mac.hypercard] Novice questions

ralphm@portia.Stanford.EDU (Ralph Melton) (09/05/90)

I am a novice Hypercard user, not using the full power of the beast.  I am
using Hypercard 1.2.5.

I was transferring my address book to the Apple-provided stack and decided to
add a "Birthday" field.  (Interestingly enough, I can't adjust its tab order
with "Bring closer" or "Send Farther"--can someone suggest what I am most 
likelily doing wrong?)

"Eureka!" I realized.  "I should be able to link the Address Book and Datebook
stacks, to remind me of people's birthdays!"  That is, I am trying to organize
my stacks to do something like the following pseudo-code:

for Name in {all people in my address book with known birthdays}
    set Bday to the birthday of Name
    Put Name in the field of the datebook corresponding to Bday this year

So an entered birthday of 6/12/69 for Rodney Smith in the datebook should add
the name "Rodney Smith" to the contents of the field corresponding to 6/12/90
in the datebook when this putative script is run.

This, it seems, is harder than it looks.  I have managed to use a "find" in
the "openCard" handler of the daily planner, so that it tells me whose birthday
is today.  I would like, though, to be able to get a reminder in advance, in
the weekly planner, if possible.  Can anyone help me do this?

Rank novice question number two (or three, depending on whether you count my
question on Send Farther):  I have a Disk Library stack that catalogs my
floppy disks (One card per disk, with the folder information shown by
indentation--I'm willing to change to another format if it will help.) I don't
currently have recorded the owners of any of the documents on the disks.  I
would like to be able to launch these applications and documents.  My ideal,
therefore, is this:  I could, say, select "Daleks" from the listing of the 
currently unmounted disk "Games:", click "launch" and have the "please insert
the disk Games" alert come up, and after I inserted the disk, have it start
my game.  Then, after quitting that, I would choose select the name of the
Word document "Judy 9-3" from the listing of the disk "Letters"; after clicking
"launch," it would ask me to insert the disk "Letters", then it would find
the document "Judy 9-3", deduce that it was a Word document, and then launch
Word on it.  Is this possible?

Unfortunately, I am reluctant to buy the Script Language Guide until I prove
to myself that I can do enough useful things with scripts to make it
worthwhile.  Therefore, so that I can convince myself to get the FM, I would
greatly appreciate any help.

Ralph Melton
ralphm@portia.stanford.edu 
 
-- 
 
Ralph Melton
ralphm@portia.stanford.edu
                                               "Remenber this, my friend: