[Squeakland] fire a script with a keypress

karl karl.ramberg at chello.se
Mon Dec 5 05:07:45 PST 2005


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.
>
>  
>
That explains it :-)
Thanks,
Karl

>- Bert -
>
>_______________________________________________
>Squeakland mailing list
>Squeakland at squeakland.org
>http://squeakland.org/mailman/listinfo/squeakland
>
>
>  
>




More information about the Squeakland mailing list