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

directly open a game (Minecraft lunar client)

Windows
2
3
1.6k
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.
  • Z
    Zerox
    last edited by Jun 7, 2021, 10:44 PM

    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

    R 1 Reply Last reply Jun 8, 2021, 1:00 AM Reply Quote 0
    • R
      Russ @Zerox
      last edited by Russ Jun 8, 2021, 1:03 AM Jun 8, 2021, 1:00 AM

      @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
      • Z
        Zerox
        last edited by Jun 10, 2021, 3:36 AM

        It worked for me, thank you very much 🙂

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post