I always lose this link and forget about it, so here it is again after digging through old posts…
window.external.ExecuteAutomationCommand(<CommandName>,<CommandValue>);
window.external.GetSettingValue(<SettingName>);
window.external.SetSettingValue(<SettingName>,<SettingValue>);
That may help somewhat with web integration. The question is: do we have, or will we have in the future, more of these functions?
##Example
###HTML File
<button onclick="window.external.ExecuteAutomationCommand('ShowMessage', 'Hello');">Click Me</button>
###Displays in HTML Viewer
Clicking Click Me
button executes automation command.
###Rule Setup