[Newbies] ScriptableButton and mouseCodeToRun

polishookm polishookm at mail.montclair.edu
Thu Mar 13 16:01:14 UTC 2008


I know how to open a halo and navigate through menu choices to add a 
mouseUp action to a ScriptableButton.

How can I add the mouseUp action with code? To be something like:

button := ScriptableButton new.
button position: 200 @ 200.
button label: 'Paragraph'.
" what goes here? "
button extension: (mouseUpCodeToRun -> 'Transcript show').
button openInWorld.

If the detective-process  of how to figure it out could be explained as 
well, that would be great.

Thanks very much in advance,

MP



More information about the Beginners mailing list