Search found 31 matches

by tobsto occupied
03 Jun 2020, 16:57
Forum: Ask For Help
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 31
Views: 559

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

btw i thought winwaitclose would wait till dmc5 isnt running anymore and autoexit the rest including the script O.k. if that's what you want. Then you must manually restart the script. Alternatively you can replace ExitApp with Reload which will equally exit the script, but then automatically resta...
by tobsto occupied
03 Jun 2020, 16:55
Forum: Ask For Help
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 31
Views: 559

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

so how do i make script sections stop aka sleep from advancing but being tied to different exes such as said beginning from > Send, 'my password for steam' for Gosub CheckFocus to continue only if steam.exe is running and after > run "" "steam://rungameid/601150" for Gosub CheckFocus to continue onl...
by tobsto occupied
03 Jun 2020, 16:33
Forum: Ask For Help
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 31
Views: 559

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

ummm... well that part of the batch is at the very end , if you read it , youll notice that it closes all listed processes with game process ending as should be , now for continuing from where the ahk script left off at while for example browsing instantly pausing script once returning to said game ...
by tobsto occupied
03 Jun 2020, 16:17
Forum: Ask For Help
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 31
Views: 559

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

havent seen that section tbh , anyhow where getting closish , but needs that extra help from you aka scripts i can test lols, but seriously , dont expect me to be able to do anything in this case , hell i can help out with other shit but not with coding :| i mean here , lemme just repost that edited...
by tobsto occupied
03 Jun 2020, 16:14
Forum: Ask For Help
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 31
Views: 559

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

Correct is: WatchCmd: if !WinExist("ahk_pid " Pid) { ; you can replace "WinExist" with "WinActive" if you like ;if !WinActive("ahk_pid " Pid) { WinWaitClose, % TitleToClose:= "ahk_exe Devil May Cry 5.exe" ; guessing game you want to exit WinClose, % TitleToClose:= "ahk_exe cheatengine-x86_64.exe" ;...
by tobsto occupied
03 Jun 2020, 14:26
Forum: Ask For Help
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 31
Views: 559

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

What is in Devil May Cry 5_steamlaunch_batch_mode_.bat? its a batch to add dmc5 to steam, lols :: Get DLC Info from SteamDB by Sak32009 v3.8.1 | 2016 - 2019 :: Format: GreenLuma Reborn v1.7.3 [BATCH MODE] :: AppID: 601150 :: AppID Name: Devil May Cry 5 :: AppID Total DLCs: 28 :: SteamDB: https://st...
by tobsto occupied
03 Jun 2020, 14:23
Forum: Ask For Help
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 31
Views: 559

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

well your truncated script throws a error unknown { in if !WinExist("ahk_pid " Pid) { ; you can replace "WinExist" with "WinActive" if you like removed said symbol allows script to launch , but it wont continue script once steam.exe aka the launcher gets focus , easy example while the launcher is lo...
by tobsto occupied
03 Jun 2020, 13:42
Forum: Ask For Help
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 31
Views: 559

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

O.k. You did not translate Batch commands but that can be done later. Oh, you did, but you took my advice literally, come on you know how to use run command e.g.: ; start /min "" "DMCVTrainer.exe" - goes to: run DMCVTrainer.exe,, Min lols , i did tehe While on forum you can click on any command to ...
by tobsto occupied
03 Jun 2020, 12:09
Forum: Ask For Help
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 31
Views: 559

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

like such? btw still dont know how to set the Gosub CheckFocus to be tied to dmc5.exe, so as soon as dmc5 exits all gets killed immediately or as said if focus lost and continued where it left off on refocus, also starting from line > run "" "steam://rungameid/601150" before that this part> WinWait,...
by tobsto occupied
03 Jun 2020, 11:02
Forum: Gaming
Topic: ahk script fix please that has new cmd instance opened instead of original focused as should Topic is solved
Replies: 12
Views: 232

Re: ahk script fix please that has new cmd instance opened instead of original focused as should Topic is solved

gotcha, thanks, not that id want hotkeys tho , not a fan of hotkeys , but lets just finish this in the other thread, juggling multiple threads that entails clearly alot more than just cmd apparently , might just lead to headaches , lets continue this here > https://www.autohotkey.com/boards/viewtopi...
by tobsto occupied
03 Jun 2020, 10:57
Forum: Ask For Help
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 31
Views: 559

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

oh before i forget it the ahk should be able to autoexit the full process in said ahk script as soon as the game crashes p.s, theres only one batch left in this equation after that and that one is required for launching steam itself with some extra parameters which i need aka the Devil May Cry 5_ste...
by tobsto occupied
03 Jun 2020, 10:51
Forum: Gaming
Topic: ahk script fix please that has new cmd instance opened instead of original focused as should Topic is solved
Replies: 12
Views: 232

Re: ahk script fix please that has new cmd instance opened instead of original focused as should Topic is solved

so one sec , i need more than one ahk script? thought one is enough if the ahk fully exits and the game etc. as well? aka a fresh launch of the game per ahk script?
by tobsto occupied
03 Jun 2020, 10:42
Forum: Ask For Help
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 31
Views: 559

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

and how do integrate this batch into it , since you mentioned integrating them together so its a full ahk script @echo OFF start "" "steam://rungameid/601150" TIMEOUT /t 30 start /min "" "DMCVTrainer.exe" start /min "" "SSSiyanCollabTU5.CT for /f "tokens=*" %%f in ('wmic cpu get NumberOfCores /value...
by tobsto occupied
03 Jun 2020, 10:21
Forum: Ask For Help
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 31
Views: 559

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

not sure if youve noticed but im dumb as fuck , so babysteps sorry :? , complicated? trust im really working em braincells ..the few i have real hard and im gettin a headache , so as said babysteps and alot of explainin it is with me aka step by step , once again sorry bout that i can be a real head...
by tobsto occupied
03 Jun 2020, 10:16
Forum: Gaming
Topic: ahk script fix please that has new cmd instance opened instead of original focused as should Topic is solved
Replies: 12
Views: 232

Re: ahk script fix please that has new cmd instance opened instead of original focused as should Topic is solved

have i then misunderstood perhaps? im confused if you couldnt tell, lols, seriously tho, what am i supposed to change here>? ;run, Devil May Cry 5_steamlaunch_batch_mode_.bat, D:\Games\Steam,, Pid ; run and catch Pid ;WinWait, % Title:= "ahk_pid" Pid,, 30 do i have to input a certain pid? i hope im ...
by tobsto occupied
03 Jun 2020, 09:47
Forum: Gaming
Topic: ahk script fix please that has new cmd instance opened instead of original focused as should Topic is solved
Replies: 12
Views: 232

Re: ahk script fix please that has new cmd instance opened instead of original focused as should Topic is solved

well , pid dont work , needs something else , since pids constantly change , not a good solution , also see this for understanding what im gettin at> https superuser.com /questions/636497/does-windows-7-reuse-process-ids Broken Link for safety mainly this quote> So it appears that Windows 7 will jus...
by tobsto occupied
03 Jun 2020, 06:02
Forum: Ask For Help
Topic: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off
Replies: 31
Views: 559

Re: Request for a script that autostops commands etc. on app focus loss and continue on refocus from where it left off

ok ...but uhhhh pid constantly changes with cmd, tried by multiple launches, so perhaps something else than pid then?

btw still have no freakin clue how to autostop a script on app focus loss and continue on refocus from where it left off

Go to advanced search