TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    directly open a game (Minecraft lunar client)

    Windows
    2
    3
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ZeroxZ
      Zerox
      last edited by

      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

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @Zerox
        last edited by Russ

        @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) 
        

        Russell VanderMey

        1 Reply Last reply Reply Quote 0
        • ZeroxZ
          Zerox
          last edited by

          It worked for me, thank you very much 🙂

          1 Reply Last reply Reply Quote 0
          • First post
            Last post