[Squeakland] fire a script with a keypress
Milan Zimmermann
milan.zimmermann at sympatico.ca
Mon Dec 5 07:59:37 PST 2005
On December 5, 2005 05:07, Bert Freudenberg wrote:
> Am 05.12.2005 um 07:58 schrieb Milan Zimmermann:
> > On December 4, 2005 06:34, Bert Freudenberg wrote:
> >> Am 04.12.2005 um 09:48 schrieb karl:
> >>> Bert Freudenberg wrote:
> >>>> Am 03.12.2005 um 18:26 schrieb karl:
> >>>>> 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.
> >>>>
> >>>> Better yet, do not set the script to ticking, but to be activated
> >>>> on keystroke.
> >>>
> >>> I don't see that choice in the menu
> >>
> >> It's in the "more..." sub-menu.
> >
> > Just a note, I do see "more==>keyStroke" in the Tweak version, but
> > not in (3.8
> > or Squeakland05) version, perhaps it is new in Tweak(?)
>
> It's there, but only for scripts of the World itself.
Ah, yes, I see it now. from just a random look at some objects, it is actually
consistent betwen Tweak and 3.8, for example:
keyStroke available under more...
World
Holder
keyStroke not available under more...
Ellipse
(I thought they were all the same)
Thanks Milan
>
> - Bert -
>
> _______________________________________________
> Squeakland mailing list
> Squeakland at squeakland.org
> http://squeakland.org/mailman/listinfo/squeakland
More information about the Squeakland
mailing list