I am trying to run a specific script in the background on a certain application without it affecting me. I keep getting an error though. Does anyone know how to fix it? I keep getting the error x and y need to be both present or absent.
My code:
Code: Select all
^m::
WinGet, MinecraftLauncherid,List, MouseClick, Minecraft Launcher
Loop
{
MouseClick, left, ahk_id %MinecraftLauncherid1%
Sleep 1500
}
^Esc::ExitApp
[Mod edit: Removed excessive blank lines and added [code][/code] tags. Please use them yourself when posting code.]