Maybe I misunderstood:
I did think you would like to call a function from the text processor. The example from jaynabonne in the link I gave, basically put a clickable link in the page that calls a function.
<a class="cmdlink" onclick="ASLEvent('SomeFunction','null')">This link will play some sound when clicked</a><br>
The function is 'SomeFunction' and the link will display: This link will play some sound when clicked
Sorry for the misunderstanding.