ActiveState Community

Where do I read on list of system notification which can be used to assign running macro

Posted by kharch on 2009-05-14 09:56
OS: All / Any

There are names of notifications
which I found with google:

current_project_changed
project_added
project_removed
view_document_detaching
view_document_attached
view_document_detaching
view_document_attached
view_opened
application-activated

But I suppose there are many others.
And where all this stuff is documented?

Thanks.

toddw | Thu, 2009-05-14 10:13

There is a good list in this forum post:
http://community.activestate.com/forum-topic/firing-off-code-when-proj#c...

The other alternative is to search the Komodo source code:
http://grok.openkomodo.com/source/search?q=notifyObservers&path=%2Fopenk...

Note that the above search also includes some observer notifications that sent to the editor document (i.e. not a global notification, so some are not sent to the macro system).