Open a website and log in with username and password

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
Albireo
Posts: 1756
Joined: 16 Oct 2013, 13:53

Open a website and log in with username and password

11 Apr 2024, 10:42

Hi!
My wish is to be able to open a web page,
and then fill in the user and password in the correct fields.
And confirm this by AHK pressing a button.
Wait until the login is completed.
All this should be done by running an AHK script.

Now it is not possible to test this on the desired web page with user and password, therefore I thought of using the search field in Google to be able to test the idea that might come up.
An alternative might be to test the login to this forum.
_____________________________________________________________

The instruction to open a browser is not complicated. Can be done with the instruction Run
Run - Can open different browsers - examples
But...
How can the AHK-program be stopped until the browser has been opened?
In the example above, the MsgBox (webbPID) is displayed under the browser.

I have tried the tip to use .:

Code: Select all

WinWait "ahk_pid " webbPID
But then MsgBox is never displayed (AHK program will be stopped before)

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: mikeyww and 68 guests