Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

I've run into a weird issue that i don't know how to fix, nor even know whats wrong.
There's a Nintendo Satellaview emulator called "bsnes-plus" that does not have a fullscreen augmentation in its command line offering.
Not useually a big deal, just a quick AHK script fixes it.

But this emulator seems completly unaffected by AHK scripts and i don't know whats causing it.
https://project.satellaview.org/downloads.htm <- first emulator you see, its called bsnes-plus.

If anyone got a minute to check what i could do to get AHK to send a " Send !{Enter}" cmd to that emulator, i'll kiss you on mouth, twice.
Cheers

Posted

The emulator is a fork of bsnes, thats a fork of higan.
And i know this simple AHK script works on higan (in the first comment) but does absolutly nothing to bsnes-plus
 

 

Posted

Did u try these?

#IfWinActive ahk_exe bsnes.exe
F11::
    ControlSend,, !{Enter}, ahk_exe bsnes.exe
return
#IfWinActive


OR

#IfWinActive ahk_exe bsnes.exe
F11::   
    SendMode Input
    Send !{Enter}
return
#IfWinActive

OR

#IfWinActive ahk_exe bsnes.exe
F11::  
    SendMode Event
    Send !{Enter}    
return
#IfWinActive

OR

#IfWinActive ahk_exe bsnes.exe
F11::        
    SendMode Play
    Send !{Enter}
return
#IfWinActive

OR

#IfWinActive ahk_exe bsnes.exe
F11::
    ; Send Alt+Enter using Windows messages
   PostMessage, 0x0104, 0x12, 0x20380001,, ahk_exe bsnes.exe  ; Alt down (0x12 = VK_MENU)
PostMessage, 0x0104, 0x0D, 0x20380001,, ahk_exe bsnes.exe  ; Enter down
PostMessage, 0x0105, 0x0D, 0xC0380001,, ahk_exe bsnes.exe  ; Enter up
PostMessage, 0x0105, 0x12, 0xC0380001,, ahk_exe bsnes.exe  ; Alt up
return
#IfWinActive

OR

#IfWinActive ahk_exe bsnes.exe
F11::
    WinGet, TempWindowID, ID, ahk_exe bsnes.exe
    If (TempWindowID)
    {
        WinGet, WindowStyle, Style, ahk_id %TempWindowID%
        If (WindowStyle & 0x20000)  ; WS_MINIMIZE
        {
            WinRestore, ahk_id %TempWindowID%
        }
        Else
        {
            WinSet, Style, ^0xC40000, ahk_id %TempWindowID%
            WinMove, ahk_id %TempWindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight
        }
    }
return
#IfWinActive

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...