Run Script in Minimized Chrome

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
aweinberg
Posts: 52
Joined: 08 Feb 2019, 15:38

Run Script in Minimized Chrome

15 Feb 2019, 19:49

I am trying to have my code run in Chrome when Chrome is minimized. So I will be in a different program and it will click on the screen in Chrome while it is minimized.
How do I accomplish that with my code?



x :=1919 ;place your desired coordinates in these two variables.
y :=1072
a := 23
b := 60
c := 1308
d := 213
e := 1335
f := 218

f4::MoveClickBack(x, y)
f5::MoveClickBack(a, b)
f3::MoveClickBack(c, d)
f8::MoveClickBack(e, f)

MoveClickBack(x, y)
{
local start_x, start_y
mousegetpos, start_x, start_y
mouseclick, left, %x%, %y%, 1, 0
mousemove, %start_x%, %start_y%, 0
}
return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: jeves and 278 guests