Selecting button in firefox toolbar

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
goofy3785
Posts: 1
Joined: 05 Aug 2021, 12:31

Selecting button in firefox toolbar

05 Aug 2021, 12:36

I am trying to make a script to save webpages using firefox's Save Page WE extension. To do this I have to open up firefox and select the button in the toolbar. The problem is that I can't select with a mouse event for some reason. I tried slowing everything down with pauses to make sure everything is loaded but it doesn't look like anything is happening. Here's the script:

Code: Select all

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn All, StdOut  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
Run, www.google.com
WinWait, ahk_class MozillaWindowClass
Sleep, 1000
WinMaximize, ahk_class MozillaWindowClass
Sleep, 1000
ControlClick, MozillaCompositorWindowClass1, ahk_class MozillaWindowClass,, Left, 1,  x1751 y71 NA
Sleep, 1000
WinWait, ahk_class MozillaDialogClass
Sleep, 1000
ControlClick, MozillaCompositorWindowClass1, ahk_class MozillaDialogClass,, Left, 1,  x292 y260 NA
Sleep, 1000
ControlClick, MozillaCompositorWindowClass1, ahk_class MozillaDialogClass,, Left, 1,  x41 y180 NA
Sleep, 1000

What am I missing here?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Google [Bot], jameswrightesq and 430 guests