Re: using "preOpenStack" in card script

2016-11-22 Thread Richard Gaskin
Sannyasin Brahmanathaswami wrote: > if we put > > on preopenStack > answer "hello" with "OK" > # do stuff here > end preopenstack > > into the script of card 1 of a stack > > As a way to encapsulate the preopenstack from the message path > > and you put a button "Run" on the card: > > on mouseUp

Re: using "preOpenStack" in card script

2016-11-22 Thread Paul Dupuis
On 11/22/2016 4:15 PM, Sannyasin Brahmanathaswami wrote: > on mouseUp > preopenStack > end mouseup You have to send the message using send or dispatch (or call - see teh dictionary for differences between these three methods). So: on mouseUp send "preOpenStack" to this card end mouseUp __

Re: using "preOpenStack" in card script

2016-11-22 Thread Bob Sneidar
put the stuff you would perform in a handler and call that from preopenstack and from your button mouseUp handler. Bob S > On Nov 22, 2016, at 13:15 , Sannyasin Brahmanathaswami > wrote: > > if we put > > on preopenStack > answer "hello" with "OK" > # do stuff here > end preopenstack > >

using "preOpenStack" in card script

2016-11-22 Thread Sannyasin Brahmanathaswami
if we put on preopenStack answer "hello" with "OK" # do stuff here end preopenstack into the script of card 1 of a stack As a way to encapsulate the preopenstack from the message path and you put a button "Run" on the card: on mouseUp preopenStack end mouseup click the button and you get t