imtheman Posted December 15, 2017 Share Posted December 15, 2017 ok...I have a 4 player 8 buttons for each arcade center and when I have people over its always the same question "what button do I press?" so I bought a 7" screen I want to inlay into the top of my controller area and when I load a game I want a photo of how I laid out the buttons to been shown on the 7" screen (this will be a pain in the ass to do for each game but I want it so ill take a few days making photos for each ) so I found a way to load a photo when a game starts but I want it to close after I stop that game and go back to a view of something else. I only have about 80 games mainly mame and pc games. having to take 10 mins trying to explain or hearing I don't know what I'm doing has taken its toll on me so any help on this would be great Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted December 15, 2017 Share Posted December 15, 2017 I'm sure someone will probably have a more elegant solution with some other software but I suppose you could load and close the images using the Additional Apps feature of Launchbox. Quote Link to comment Share on other sites More sharing options...
imtheman Posted December 15, 2017 Author Share Posted December 15, 2017 yes thats what i did but it dont close after the game is closed down so when its just scrolling games it shows the photo of the last controller setup Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted December 15, 2017 Share Posted December 15, 2017 I don't have a lot of experience using it so I can't give you the exact details on how to do it but I do know you can have it run commands to close apps after the game closes out. Quote Link to comment Share on other sites More sharing options...
jayjay Posted December 15, 2017 Share Posted December 15, 2017 What program are you using to view the image? Photos or windows photo viewer or ? Quote Link to comment Share on other sites More sharing options...
imtheman Posted December 15, 2017 Author Share Posted December 15, 2017 I could use anything but I did a test with windows paint Quote Link to comment Share on other sites More sharing options...
jayjay Posted December 15, 2017 Share Posted December 15, 2017 (edited) There might be betters ways but I don't know any. But this should work. Google, download and install autohotkey. Right click anywhere, say desktop. New. Autohotkey script. Right click on new script. Edit script. Copy and paste the following underneath the lines already there: #SingleInstance Force SetTitleMatchMode 2 WinClose, Paint Exitapp Save as anythingyouwant.ahk Right click on it, compile script. In launchbox choose a game. Right click, edit. Additional apps, add app. Give it any name. Point the path to the the compiled script. Check the "run after main application" box. Ok. With this you will have to add it to all your games. But you only have 80 games so not to bad. What the script does is it looks for a word in any window title. If it finds that word it will close the window. In this case its looking for the word "Paint". It is case sensitive. It will only close one window with a matching word. Edited December 15, 2017 by jayjay Quote Link to comment Share on other sites More sharing options...
imtheman Posted December 15, 2017 Author Share Posted December 15, 2017 thank you so much I will test this soon Quote Link to comment Share on other sites More sharing options...
imtheman Posted December 18, 2017 Author Share Posted December 18, 2017 so I have started and I want to say thank you all again for your help 1 Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted December 18, 2017 Share Posted December 18, 2017 Good to hear you got it working the way you want it. Quote Link to comment Share on other sites More sharing options...
imtheman Posted January 3, 2018 Author Share Posted January 3, 2018 On 12/16/2017 at 3:38 AM, jayjay said: There might be betters ways but I don't know any. But this should work. Google, download and install autohotkey. Right click anywhere, say desktop. New. Autohotkey script. Right click on new script. Edit script. Copy and paste the following underneath the lines already there: #SingleInstance Force SetTitleMatchMode 2 WinClose, Paint Exitapp Save as anythingyouwant.ahk Right click on it, compile script. In launchbox choose a game. Right click, edit. Additional apps, add app. Give it any name. Point the path to the the compiled script. Check the "run after main application" box. Ok. With this you will have to add it to all your games. But you only have 80 games so not to bad. What the script does is it looks for a word in any window title. If it finds that word it will close the window. In this case its looking for the word "Paint". It is case sensitive. It will only close one window with a matching word. ok I had it working not the issue is when I try running the script it wont close the photo while its in full screen (is there a way to select/find "app" and alt+f4 it closed I have tried making my own script to no outcome Quote Link to comment Share on other sites More sharing options...
imtheman Posted January 3, 2018 Author Share Posted January 3, 2018 wont close if its full screen I downloaded an app that can auto fullscreen photos in my 2nd screen Quote Link to comment Share on other sites More sharing options...
jayjay Posted January 4, 2018 Share Posted January 4, 2018 (edited) #SingleInstance Force Process, Close, app.exe Exitapp Change app.exe to your new apps .exe. Or SetTitleMatchMode 2 WinActivate, windowtitle Send {Alt Down}{F4 Down}{Alt Up}{F4 Up} ExitApp Change windowtitle. Edited January 4, 2018 by jayjay Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.