3lc3z4r Posted May 26, 2022 Share Posted May 26, 2022 I don't know if you pay attention to this but do you know any way that the mouse when starting the full screen does not go to the upper right corner, there are times that I just press it by chance and it closes all launchbox Quote Link to comment Share on other sites More sharing options...
freeflyer454 Posted May 27, 2022 Author Share Posted May 27, 2022 4 hours ago, 3lc3z4r said: I don't know if you pay attention to this but do you know any way that the mouse when starting the full screen does not go to the upper right corner, there are times that I just press it by chance and it closes all launchbox Sure, the program is written in AutoIt, so it'd just be a simple line of code and recompile it. I'm offshore atm and won't be home for another week or so, but you can try it yourself. Or look into adding a similar AHK script to launchbox when it launches the phoenix-rom-launcher. Either way could move the mouse for you. Hope that helps. Quote Link to comment Share on other sites More sharing options...
3lc3z4r Posted May 27, 2022 Share Posted May 27, 2022 5 minutes ago, freeflyer454 said: Sure, the program is written in AutoIt, so it'd just be a simple line of code and recompile it. I'm offshore atm and won't be home for another week or so, but you can try it yourself. Or look into adding a similar AHK script to launchbox when it launches the phoenix-rom-launcher. Either way could move the mouse for you. Hope that helps. mmmm, maybe.....i will seek help in the forums, thanks for your time and for the script...I almost uninstalled the emulator because I couldn't find the correct launcher for this case (especially because of the full screen and closing it afterwards) Quote Link to comment Share on other sites More sharing options...
freeflyer454 Posted May 28, 2022 Author Share Posted May 28, 2022 On 5/26/2022 at 11:56 PM, 3lc3z4r said: mmmm, maybe.....i will seek help in the forums, thanks for your time and for the script...I almost uninstalled the emulator because I couldn't find the correct launcher for this case (especially because of the full screen and closing it afterwards) Just did a quick search for the AHK command to move the mouse. In LaunchBox, go to Tools > Manage > Emulators... then edit the entry for the Phoenix Rom Launcher. On the left side of the window, look for Running Script. Inside there, paste the following: MouseMove, 0, 50, 0, R That *should* move the mouse down 50 pixels from it's current position when the Phoenix Rom Launcher is run. I haven't tested it for certain, but you can play around with it and see if that does what you're looking for. Hope that helps. Quote Link to comment Share on other sites More sharing options...
3lc3z4r Posted May 29, 2022 Share Posted May 29, 2022 6 hours ago, freeflyer454 said: Just did a quick search for the AHK command to move the mouse. In LaunchBox, go to Tools > Manage > Emulators... then edit the entry for the Phoenix Rom Launcher. On the left side of the window, look for Running Script. Inside there, paste the following: MouseMove, 0, 50, 0, R That *should* move the mouse down 50 pixels from it's current position when the Phoenix Rom Launcher is run. I haven't tested it for certain, but you can play around with it and see if that does what you're looking for. Hope that helps. I tried it as such and nothing happened, but I'm still not upset, rather anxious to see if you can fix this little inconvenience... I'll be waiting with pleasure for the possible solution, thanks (I attach the image in case you think I did something wrong) Quote Link to comment Share on other sites More sharing options...
freeflyer454 Posted May 29, 2022 Author Share Posted May 29, 2022 1 hour ago, 3lc3z4r said: I tried it as such and nothing happened, but I'm still not upset, rather anxious to see if you can fix this little inconvenience... I'll be waiting with pleasure for the possible solution, thanks (I attach the image in case you think I did something wrong) Dang. It might only work if a hot key is set to trigger it. I don't have a lot of experience with AutoHotKey so I'm just guessing. Well, I'll look at adding that feature to the rom launcher in a few days. Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted May 29, 2022 Share Posted May 29, 2022 8 hours ago, freeflyer454 said: Dang. It might only work if a hot key is set to trigger it. I don't have a lot of experience with AutoHotKey so I'm just guessing. Well, I'll look at adding that feature to the rom launcher in a few days. Try putting a sleep timer in there before moving the cursor. Sleep, 5000 MouseMove, 0, 50, 0, R This will wait 5 seconds (5000 milliseconds) before moving the mouse. Depending on load time, you may need to increase it. 1 Quote Link to comment Share on other sites More sharing options...
3lc3z4r Posted May 29, 2022 Share Posted May 29, 2022 5 hours ago, JoeViking245 said: Try putting a sleep timer in there before moving the cursor. Sleep, 5000 MouseMove, 0, 50, 0, R This will wait 5 seconds (5000 milliseconds) before moving the mouse. Depending on load time, you may need to increase it. It works fine, for now it does its job (do you know if you could make it stay in the original position where it was left before starting the emulator or not?). I am also thankful, you possibly saved me and some other people from falling into the error of closing launchbox by accident. Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted May 30, 2022 Share Posted May 30, 2022 Glad that worked for you. 17 hours ago, 3lc3z4r said: make it stay in the original position where it was left before starting the emulator I'm sure it's possible, but I think it'd be more work (figuring it out and implementing it) than it's worth. You'd need to have an AHK script run (launch) before the emulator starts. The script would capture the mouse location on the screen, pause (Sleep) a little, then set the mouse location [back] to the spot that it captured. You can do this by setting up a "Run Before Main Application", but that's only available on a per game basis. Not per emulator. So every game in your platform would need an Additional App that launches this. You could create a script that does this AND launches your emulator/game for you and set that as the 'emulator' for the platform. But that's getting a bit excessive/obsessive. Another option is to figure out the exact coordinates (in pixels) on your monitor that starting point is, then adjust the above script to move the mouse to there. Sleep, 5000 CoordMode, Mouse, Screen MouseMove, 960, 540, 0 On a 1920x1080 monitor, this will place the cursor at center screen. 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.