Automate Chrome , know page loaded completely

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ahklearner
Posts: 313
Joined: 23 Jan 2015, 01:49

Automate Chrome , know page loaded completely

09 Sep 2019, 10:57

Hi Community :wave:

Could you please help me with knowing when the page is completely loaded.
Something from JS code is also highly appreciated, but is should be able to run from AHK.
Acc.ahk can also help :)

Code: Select all

F1::
chromePageWait()
Return

chromePageWait()
	{
	global
	Loop 50
		{
		while (A_Cursor = "AppStarting")
			MsgBox, 262144,%AppName%|%A_LineNumber%|%A_LineFile%, Loaded Successfully.
		Sleep, 100
		}
	}
Return
Thank you
teadrinker
Posts: 4412
Joined: 29 Mar 2015, 09:41
Contact:

Re: Automate Chrome , know page loaded completely

09 Sep 2019, 13:48

Hi
If you need to automate Chrome, use Chrome.ahk.

Code: Select all

PageInstance.WaitForLoad()

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: apeironn, peter_ahk and 330 guests