On 06/24/2017 02:58 AM, AndyP via use-livecode wrote:
Hi Richard,
Thanks for pointing this out.
Do you know if there is an updated full list of messages one can subscribe
to?
I've looked in the dictionary and searching for subscribe and publish does
not bring up any info?
At the moment there's a limited list of messages.
Look in the script of revidelibrary.8.livecodescript... the function
revIDEMessages() has a list and there are three more in the
revIDEMessageIsValid() function. From the messagebox, issuing the
command "put revIDEMessages()" will give you most of them.
Note that none of this is documented at the moment. If you're going to
try to subscribe to a message, make sure to unsubscribe when you close
the subscribing stack or issue a revIDEunsubscribeall command, otherwise
you'll end up with some unexpected experiences. Even there's no explicit
documentation for the pubsub mechanism, the comments in the script are
very good.
--
Mark Wieder
[email protected]
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode