[Squeakland] fire a script with a keypress

karl karl.ramberg at chello.se
Sat Dec 3 09:26:20 PST 2005


Bob Irving skrev:

> Can anyone tell me how to fire a script with a keypress in eToys?  For 
> instance, how could you use the space bar to pause?  Just an example.

Here is a workaround:
The world / background captures keypresses. Bring up a viewer on the 
world and select the
input category.
Make a script like the the one in the attachment picture.
karl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: script.gif
Type: image/gif
Size: 6679 bytes
Desc: not available
Url : http://squeakland.org/pipermail/squeakland/attachments/20051203/659bdff4/script.gif


More information about the Squeakland mailing list