HyperCard Hints

These hints have been collected over the years by me and my former students, often through trial and error. There may still be mistakes here because I didn't always write notes down as we discovered new things. Please let me know if you find a mistake or if you have a new hint to share. Gratias tibi ago!!!

--Avoid using the paint can. "A" paints text onto your card which you can easily erase accidentally so always try to put your text into fields.
--Click eraser once to erase pieces. Double click erases everything.
--Pencil & Spray can--lets you write/draw

--To resize a card:
Tool bar--button
Object--New Button
Resize, double-click--task
When finished, go apple-N= New Card

--To import images:
Under file--open stack
HyperCard, HyperCard stacks--art bits--square--copy
Under go--recent--click on card that you want--paste
(Be careful, double-clicking will erase the clip art--very bad!!)
Holding the apple key and dragging w/ the mouse stretches the image.

--To create a button that links to another card:
Create a button, double-click on it, click tasks, link to previous card or do the following to link to a different card: Under go--recent--click on the card that you want to link to--choose link to current card.

--To create a button to quit HyperCard:
Under button, choose script--Type the following:
on mouseUp
domenu quit hypercard
end mouseUp

--To create a button to print the card:
Under button, choose script--Type the following:
on mouseUp
domenu print card
end mouseUp

--There are various different ways to use images. Here is one:
Create a new button, choose route, choose script,--type the following:
on mouseUp
picture "name", file, rect [play "music" is similar to this]
wait 200 [wait 200 = 2 second display]
close window "name"
end mouseUp

--To show a card temporarily:
drop a field--write on it--Apple-M
hide card field "name"
make button--script
show card field "intro"
wait 200
hide card field "intro"

--To record from a C.D.:
Under the apple, go control panels, go sound, go options, go sound in, go internal, go C.D. You can then record sound and link a button to that sound.

--There are various ways to make buttons produce speech. Here is one:
make button--script
on mouseUp
speak "tic tac toe three in a row" with male voice
end mouseUp

(Revised July 1998)