Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Zsnes, xbmc and Keyboard command {alt+f4}

If you have a question or need help, this is the place to be.
Post Reply
leftspeaker2000
Posts: 2
Joined: Sun Jul 15, 2012 3:37 am

Zsnes, xbmc and Keyboard command {alt+f4}

Post by leftspeaker2000 »

Hello


I have xbmc on my HPTC with rom emulator collection and a MCE remote. The remote is set up great and works perfectly fine with event ghost. I do though want to add the keyboard short cut to a key to quit the emulator when im done and return back to xbmc. When in the emulator launched from XBMC if I press alt + f4 it closes the emulator and goes back to xbmc. If I set this up though event ghost, the command will close xbmc, other programs but it appears to do nothing to Zsnes although the even is running. I tried using the alternative input method that's available on the keyboard imput but nothing works any help would be great !.
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: Zsnes, xbmc and Keyboard command {alt+f4}

Post by jonib »

leftspeaker2000 wrote:I have xbmc on my HPTC with rom emulator collection and a MCE remote. The remote is set up great and works perfectly fine with event ghost. I do though want to add the keyboard short cut to a key to quit the emulator when im done and return back to xbmc. When in the emulator launched from XBMC if I press alt + f4 it closes the emulator and goes back to xbmc. If I set this up though event ghost, the command will close xbmc, other programs but it appears to do nothing to Zsnes although the even is running. I tried using the alternative input method that's available on the keyboard imput but nothing works any help would be great !.
I wasn't able to get EventGhost to close ZSNES directly, seems ZSNES is special. I found this tool Closemul, seems to be for closing emulators. I haven't tried it so don't know if it works with ZSNES. You should be able to run it from EventGhost.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
User avatar
blackwind
Experienced User
Posts: 182
Joined: Wed Sep 12, 2012 2:59 am
Location: Canada
Contact:

Re: Zsnes, xbmc and Keyboard command {alt+f4}

Post by blackwind »

If you install my patch here (or wait for the next version of EventGhost), you can use the following in a Python Command:

Code: Select all

eg.WinApi.Utils.KillProcess(processName = "zsnesw.exe")
/bw
Post Reply