onChangeSelection
This event is triggered whenever the user selects a token.
As a frame-based event a frame containing the event code has to opened. Set up: create a frame that has this special html tag in it:
<link rel='onChangeSelection' type='macro' href='macroLink'>
Instead of macroLink
you give a macro link (the returned value of macroLinkText().