Today a client asked how to automate login to the admin console when it is open in a web viewer within a FileMaker solution. You probably saw the video Automate web viewer already?
Set Variable [ $JS ; Value: "
function SendEvent(o, name)
var evt = document.createEvent('Events');
evt.initEvent(name, true, true);
// set user name¶
o = document.getElementById('inputUserName');
o.value = '" & Admin Console::Username & "';
// set password¶
o = document.getElementById('inputPassword');
o.value = '" & Admin Console::Password & "';
If you have questions, please don't hesitate to contact us. The example will be included with next plugin version.