Category:Event: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
There are three kinds of events.  
There are three kinds of events.  


* frame based events. These require a frame to be opened and are specified in the HTML header of that frame (onChangeSelection, onChangeImpersonated).
* frame based events. These require a frame to be opened and are specified in the HTML header of that frame ('''onChangeSelection, onChangeImpersonated, onChangeToken''').
* real events. These are executed automatically (onCampaignLoad, onTokenMove, onMultipleTokensMove).
* real events. These are executed automatically ('''onCampaignLoad, onTokenMove, onMultipleTokensMove''').
* fake events. These are cunning workarounds to add events by macro that otherwise wouldn't be there (onMouseOverEvent).
* fake events. These are cunning workarounds to add events by macro that otherwise wouldn't be there ('''onMouseOverEvent''').


'''This is not complete yet! Work in progress'''
'''This is not complete yet! Work in progress'''

Revision as of 10:33, 14 October 2011

Events are ways to execute macros without direct user input.

There are three kinds of events.

  • frame based events. These require a frame to be opened and are specified in the HTML header of that frame (onChangeSelection, onChangeImpersonated, onChangeToken).
  • real events. These are executed automatically (onCampaignLoad, onTokenMove, onMultipleTokensMove).
  • fake events. These are cunning workarounds to add events by macro that otherwise wouldn't be there (onMouseOverEvent).

This is not complete yet! Work in progress