Website auto-login script issue (internet explorer)

I wanted to create something that would open a specific website, write the login info and then press the log-in button. I found this article and followed the steps but I couldn’t find an id or name for the log-in button. I’m currently using AutoHotkey but I can change to something else if I have to.

Here’s the log-in button element code: <input class="submit" onclick="if (submit_func()) {document.loginform.submit();} return false;" type="submit" value="Logga in">