Blast message to multiple objects..

Mark Wieder mwieder at ahsoftware.net
Thu May 19 22:48:02 EDT 2016


On 05/19/2016 03:38 PM, Mike Bonner wrote:
> I don't suppose its possible to dispatch or send a message to a group of
> objects all at once is there?  (for example lets call a bunch of buttons
> named *cough* sprite##)

See if this helps. I threw this together several years ago, but it 
should still work. The dispatcher library handles registering and 
unregistering, and then simple dispatch commands take care of sending 
the messages to the proper recipients.

http://livecodeshare.runrev.com/stack/714/Publish-and-Subscribe

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list