![]() |
The
Multimedia Page |
Hyperstudio long has supported simple scripting using their Hyperlogo language. As with most programming languages, there is an element of syntax that needs to be learned in order to program properly. However, the programmers have made Hyperlogo scripting pretty easy using a concept the developers call Click Programming. Actions that can be performed with Hyperlogo are available via a double click and you enter the parameters for the option that you choose via the keyboard. From the Hyperlogo menu, you can control just "when" the script is to be executed.
So, it might be that you wish to run a Hyperlogo script when you visit a card within your stack. From the Hyperlogo menu, select "Edit Arriving at Card Script". What we'll do is ask Hyperstudio to do something exciting like speak a little greeting to us.
Using Click Programming, I decide that it would be nice to have a Female voice. So, I scrolled through the list and there was an option for "Speech" in the left window and "Voice" in the right window. Click on "Enter" and the template for this command in our script appears in the Script window. In quotes, I key "Female". I could have chosen "Male" or actually the names of any of the synthesized voices on my computer. Now, for something to say. Again, scroll to "Speech", choose "Say" this time and "Enter" the command. In quotes, I type the text that I want my computer to speak. Close the Hyperlogo box and the script is done. Now, all that I have to do is run it. You'll recall that I chose the option of running the script when I arrived at the card. So, it's just a matter of continuing my project and every time this card is reached, the script is run, and a very pleasant greeting spoken! Now, as you were searching for "Speech" and "Voice", you undoubtedly noticed all kinds of commands that are available for use by Hyperlogo. The fun begins!
|