Jeffkicke Posted July 28, 2024 Posted July 28, 2024 Computer games Module ahk does not work for somes games Hello I have a problem with my ahk script for some computer video games. My script doesn't work with a few, as if the games were in exclusive full-screen mode and hyperlaunch was no longer responding. If I lose focus on these games, the ahk script works, or the built-in .bat works. Do you have an idea? Thank You Here's my script: FileDelete, D:\Hyperspin\Modules\PC\Kill.bat FileAppend, @echo off`nWMIC process where name="game.exe" Delete`nC:\>Taskkill /F /IM game.exe /T, D:\Hyperspin\Modules\PC\Kill.bat RunWait, D:\lanceur.lnk, hide ExitApp CloseProcess: keywait, PgDn, T5 if errorlevel = 1 { Send !{F4} WinKill, %Executable% WinKill, game.exe Process, Close, game.exe Run *RunAs D:\Hyperspin\Modules\PC\Kill.bat, hide }
Jeffkicke Posted July 28, 2024 Author Posted July 28, 2024 I'm working on windows 11. I've tried with games that "freeze" hyperlaunch in windowed mode, it doesn't work. If I go to throw Kill.bat by hand, the game closes. Example of a problem game: Assassin's creed Dirt Rally Final fantasy 7 remake intergrade Hitman 3 Hogwarts legacy Read dead redemtion 2 Snow Runner Spyro Reignited Trilogy STAR OCEAN THE SECOND STORY R
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now