Here's the script:
;------------------------------------------------------------------------------;Replace All that no longer requires "Find Next" first;------------------------------------------------------------------------------~LButton::ifWinActive Find and Replace{ MouseGetPos,,,,Ctrl ; gets the ClassNN of the control under the cursor
if (Ctrl = "WindowsForms10.BUTTON.app.0.29531c8_r9_ad19")
{
Controlclick, Find &Next, Find and Replace Sleep 1000 Controlclick, R&eplace All, Find and Replace
}}Return
And I've written about it here: Replace All that Really Means Replace All.
Translate