Index ButtonsFields Message Variables
Ask/Answer Colour Sound Menus QuickTime

Message Box & Scripting

The Message Box is a way of sending out commands to make things happen as well as a container to which all kinds of results can be sent.

Many of the properties of HyperCard can be viewed and changed through the Message Box

Copy and paste these examples, one line at a time, into the Message Box and press return to see the effect for each example

Any script that works in the Message Box will also work as a script in a button a field a card , background or stack. This makes the Message Box ideal for testing ideas or working out why scripts work or dont work

Above we have used put and set. These two words are commands in hyperTalk and they are applied to change or evaluate properties of objects like buttons and fields. Get is a related command, and puts the value of expressions into a variable called It.

Return to top of page