Jump to content
LaunchBox Community Forums

Jayinem

Members
  • Posts

    304
  • Joined

  • Last visited

Everything posted by Jayinem

  1. I found where ahk script !F4::Return will prevent it from closing with alt+F4. But I'm not sure yet if it disables it for all apps, probably.
  2. So there's no way to prevent it?
  3. I have a ton of different emulators and PC games and they use different settings for escape some use alt+F4, some use escape I made like a super escape key with autohotkey that makes it where almost every game (that doesn't disable changing keyboard keys) can exit using escape. However what happens a lot is when the game closes it ends up closing Launchbox too. Is it possible to make escape not close Launchbox? So maybe it's not possible because I don't want to disable escape key for all apps, only for Launchbox.
  4. Nevermind it's not necessary, there's an option in chrome "use a specific set of pages on start" so no script needed. Thanks again for all your help.
  5. I don't know what you mean, sorry. I'm wanting it to have a default page for each tab so if I change them it changes it back to the default page.
  6. Ended up needing 1 more but it's not about Launchbox or a game, it's about chrome tabs. I have about 20 pinned tabs that start with windows that way and any time I launch chrome. Sort of similarly to how I wanted all games showing in launchbox, I would like the main page to show when I start chrome or if possible, after a certain amount of time. So like if i had launchbox.com on a tab, but then I go into the forums or whatever other page, I would want it to go back to launchbox.com for example. To make things a bit more complicated I read that chrome uses ctrl+1 through ctrl+8 as tab shortcuts but I already use those for other ahk scripts. I can change them if necessary, but I would prefer to change the chrome hotkeys because I'm so used to them. Appreciate it again I know this might be kind of a doozy. I promise this'll be the last one not going to keep coming up with more and more, but even if you don't or can't help I won't be upset still appreciate the help you already provided.
  7. I got it, I know I didn't probably have to do this, but I don't care about sloppiness when it comes to ahk just want scripts to work. So I made a close chrome script and reopen chrome script and added them both to launchbox and just run the game.exe normally through launchbox. close chrome IfWinExist, ahk_exe chrome.exe WinClose reopen chrome after closing game Process, Wait, game.exe ;Wait for the game to be running Sleep 1000 ;Once running, wait 1 more second to be sure while winExist("ahk_exe game.exe") ;While the game is still running sleep 700 ; Hang out here, but check again Run, chrome.exe Thanks for your help.
  8. Actually I'm running it through the script itself. It's a pc game so no emulator needed. I just add run, game.exe before your script and I thought I had added an additional app to close chrome but I didn't and I wiped out my script and used yours, and I don't remember how I closed chrome exactly so I added this line Winclose ahk_exe chrome.exe, but overall it's not working. Here is my entire script I am running copied exactly. But it's not closing chrome and just opening an additional chrome window that's blank. Well your part is reopening chrome is working, but it's not closing chrome anymore in the first place. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #SingleInstance Force run, game.exe Sleep 10000 Winclose ahk_exe chrome.exe Process, Wait, game.exe ;Wait for the game to be running Sleep 1000 ;Once running, wait 1 more second to be sure while winExist("ahk_exe game.exe") ;While the game is still running sleep 700 ; Hang out here, but check again Run, chrome.exe ;The game's not running anymore, so start Chrome again.
  9. You're good at ahk. It worked, but it kind of has a strange behavior it doesn't go straight to the game the game blinks for a second then minimizes and then it goes to another tab in chrome. But when I close the game it does run chrome. Just wonder if I could have the game maximized when clicking on it. As far as how I launch the game, I just put run, game.exe before this. Is that wrong? And sorry but I get confused like when you post ("ahk_exe PersonaStrikers.exe") is than an example that needs to be changed or do I leave it? If I need to change it, would I change it to ahk_exe game.exe or just game.exe? game.exe is the actual .exe that Persona Strikers is called btw.
  10. Got one more question about a script hope you don't mind. I'm into a game Persona Strikers, but I close my internet browser chrome when I run it because it seems to slow it down (probably because I have like 20 pinned web sites) I got the script down to close chrome when running the game and it does, but I want to reopen chrome when I exit the game. The game let's you close with alt+f4, but I tried scripts to change it to escape but nothing worked. Maybe the game doesn't let you alter keyboard keys not sure. But I would need something that tells chrome to reopen when hitting alt+f4, or when closing game.exe. I tried IfWinNotActive but it didn't work, but maybe I did it incorrectly.
  11. Wait I just tried it again and it did it! I think it has to do with if you have something selected or not. If you just have Launchbox open with nothing selected it won't work, but if you have one of the playlists selected it will do it. It's the same as if you try to hit tab tab tab tab home with or without something selected first, without anything being selected it won't do anything. Not sure if there's a way to force it to select an item in the script but still pretty cool, thanks for the script.
  12. Thanks but it just doesn't seem to do anything. There's this racing game that you have go into settings and disable msaa everytime you launch it, and I was able to make a script and I see it automatically navigate the menus by itself and turn it off for me which is pretty cool. But no matter what I try even your script there's no change. If I hit tab tab tab tab and then home myself it will always go show all, but it seems maybe ahk is disabled for navigating menus? Not sure.
  13. I have different playlists but I want all games to show upon launch but it remembers the last one I was on. So I'm trying to make a script but it's not working. This didn't work Sleep 1000 run, Launchbox.exe Send {Tab Down} {Tab Up} {Tab Down} {Tab Up} {Tab Down} {Tab Up} {Tab Down} {Tab Up} Sleep 100 Send {Home Down} {Home Up} Sleep 100 Send {Tab Down} {Tab Up} But if I launch Launchbox and hit tab 4 times and then home key it will go up to the all category. I just need a script to do the tab tab tab tab home for me. Also tried Sleep 1000 run, Launchbox.exe Send {Tab Down} Sleep 100 Send {Tab Up} Sleep 100 Send {Tab Down} Sleep 100 Send {Tab Up} Sleep 100 Send {Tab Down} Sleep 100 Send {Tab Up} Sleep 100 Send {Tab Down} Sleep 100 Send {Tab Up} Sleep 100 Send {Home Down} Sleep 100 Send {Home Up} And Send {Tab 4} Sleep 100 Send {Home} Either I'm doing it wrong or maybe scripts like that are disabled in Launchbox window? I don't have premium either.
  14. I have Launchbox set to start when I start Windows and I have different playlists and it will remember the last one I viewed before shutting down Windows, but I was wondering if I could make Launchbox always default to showing All games? Also is there a way to just completely customize the dropdown list on the left side? I don't use most categories such as region, rating, star rating. Could I change those to anything I want or delete them somehow?
  15. Thanks, worked.
  16. Sorry didn't mean to duplicate it was an accident. How do you get it to show more than one disc? How do you add more than one? I only see one location for rom file.
  17. For multi game games like PS1, PS2, Gamecube roms etc....., I think it'd be pretty cool to be able to right click and below where it says Play if you choose the disc. For example Gran Turismo 2 has an arcade disc and a simulation disc, you could right click and choose either one. Or if you made progress in a single player game to get to the next disc it would be easier to choose it.
  18. Demulshooter is complicated and getting it to work with model 2 is one of the most difficult of all emulators. I would recommend joining forum.arcadecontrols.com and go to the Lightgun section. There's a thread made by the creator of Demulshooter and he answers questions all the time. I just assume and I could be wrong that you might not find many people who use it here but I do know for sure you're more likely to get your questions answered there.
  19. list of games is on their site https://teknogods.github.io/compatibility.html I have no idea about that specific resolution. Most of the time Teknoparrot doesn't let you choose the resolution. But you could probably use a app like DGvoodoo but you would have to do it for each game. It lets you modify the resolution. I think most games would work but I am guessing. The only way to find out is to do some of the dirty work yourself. I doubt there's any sort of list that will say this game works at the specific resolution you're asking for or doesn't work.
  20. The problem for me in the first place was that I forgot I was using F11 as a key for another AHK script. Once I disabled that I was able to add Sleep, 5000 SetKeyDelay, -1, 110 Send {F11} Return Sleep, 5000 SetKeyDelay, -1, 110 MouseMove, 0, 2160, 0, R $Esc:: { Process, Close, {{{StartupEXE}}} } In launchbox and it worked. But it seems people above have found another way. As long as it works it's all good.
  21. I guess I could but 2.0 speeds suck. Couldn't it even effect newer games? I have 2021 games on it. It does sound like this is likely the issue though, what a bunch of bs another thing broken on Windows 10.
  22. I have a big external hard drive that has most of my PC games and emulators on it that I load through Launchbox but it disconnects randomly sometimes it shows back up instantly sometimes I have to reboot my computer. I first tried power and sleep settings in Windows 10 but it didn't help. Would anyone have a script that can check for the drive's letter at certain intervals and automatically reconnect the drive if it's disconnected? That would be a great help. thanks
  23. For one pressing F11 doesn't work for me I can only check the box in the options to make it fullscreen. I read where someone made it fullscreen then hit alt+F4 to exit and then it stayed fullscreen on future launches. I hit alt+F4 it exits but when I relaunch it isn't fullscreen. I've even tried WindowsBorderlessGaming which usually works for most apps but not this one. I wish they would just have an option like Ryujinx where you check the box for auto fullscreen but doesn't exist. I don't think Yuzu has any command lines that I can add to Launchbox but I could be wrong. I've tried adding ahk script like send F11 and maybe it would have worked but like I said F11 is not making it fullscreen for me just by hitting the key
  24. Sorry for bumping old post but I'm trying this over and over I choose fullscreen in yuzu hit alt f4 it exits, but when I relaunch yuzu it's not in fullscreen. ?
  25. Can someone tell me how OPs Yuzu starts fullscreen? I watched the video and didn't see any settings he chose. Only thing I can find is selecting fullscreen in Yuzu after the game starts but not automatically.
×
×
  • Create New...