Jump to content
LaunchBox Community Forums

doom470

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by doom470

  1. the problem with the repair message that appear is within EA play see this code in the end of the code ; Hide EA Desktop when game closes WinHide, ahk_exe EADesktop.exe this will hide the EADesktop.exe its hard to hide the repair message since its within the app itself.
  2. for steam games, in the launching just add steam://..... you can copy it from the shortcut of the game you dont need to link the shortcut to the launching field in lunchbox, as for EA app its a bit complicated regarding minimizing the repairs needed window since the ahk file minimize the ea app itself only. make sure you have the full autohotkey 2 installed because it include v1 and v2 code, the code in the ahk i posted is v1. https://www.autohotkey.com/v2/
  3. No need for any modifications in the ahk file, it should work perfectly, EA App is known for popping up after quitting a game this is normal behavior of the app but for steam it is not.
  4. see the image i attached, by default it looks for cmd and exe files, but when you choose all files it will show, choose the ahk and it should work fine. this is where you browse to choose the application path for the emulator you created. and regarding steam, i just tested, it does not pop up its strange that this is happening to you, have you tried disabling steam overlay and notifications?
  5. you want to close steam completely after you quit the game? because the main purpose of the ahk code is to minimize the launcher of EA since it show up after quitting a game, steam does not return to screen after quitting a game so what are you trying to accomplish?
  6. Hello, try this, ; Check if a parameter was provided if 0 < 1 { MsgBox, No .exe file specified as a parameter. ExitApp } ; Get the first command-line parameter (game path) game = %1% ; Extract the EXE file name SplitPath, game, , , , gameExe ; Ensure .exe extension is present if (SubStr(gameExe, -4) != ".exe") { gameExe .= ".exe" } ; Launch the game Run, "%game%", , , PID_Game ; If the launch fails if (ErrorLevel) { MsgBox, Failed to launch the game. Check if the path is correct. ExitApp } ; Wait for the game process to appear Sleep, 3000 Loop { Process, Exist, %gameExe% if (ErrorLevel) break Sleep, 1000 } ; If process never shows up if !ErrorLevel { MsgBox, The process %gameExe% was not detected. Check the file name. ExitApp } ; Wait until game process exits Loop { Process, Exist, %gameExe% if (!ErrorLevel) break Sleep, 1000 } Sleep, 2000 ; Hide EA Desktop when game closes WinHide, ahk_exe EADesktop.exe ExitApp this is v1 autohotkey file, i have it as ahk not exe and it works but autohotkey must be installed in order for this to execute, create a new emulator call it what ever you want, eg, EA Launcher, Application Path point it to the ahk file, then in any game use emulator and choose the one you created EA Launcher for example. I have attached the file ready to use if you want. Regards. MinimizeEA.ahk
×
×
  • Create New...