Jump to content
LaunchBox Community Forums

Just another Phoenix rom launcher...


Recommended Posts

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.

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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)

imagen_2022-05-28_203645003.png

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

  • Thanks 1
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...