directly open a game (Minecraft lunar client)

  • I would like to open a game directly from a client and I don't know if it is possible. triggerCMD I am just starting to use it and I have configured some programs and I like it, but I would like to know if what I want is possible, thank you very much! Screenshot_1.png

  • @Zerox, I made this lunar.exe file with the AutoIt code below that runs Lunar Client, then clicks Launch. Just download and run the .exe file with TRIGGERcmd.

    Local $local = EnvGet("LOCALAPPDATA")
    ShellExecute ( $local & "\Programs\lunarclient\Lunar Client.exe" )
    Sleep(2000)  ; wait 2 seconds for Prime Video to start
    WinActivate ( "lunarclient" )
    $pos = WinGetPos("lunarclient")
    $x = 550
    $y = 260
    MouseClick("left", $pos[0] + $x, $pos[1] + $y) 

  • It worked for me, thank you very much :)

Log in to reply