home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My Emulators
How to close an emulator with the remote?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Squega" data-source="post: 418561" data-attributes="member: 83742"><p>Killing a process via process.exe has worked with every emulator for me except Kega Fusion. If you kill its process then saves are lost and there is no option to do what ZSNES does to get around it. </p><p></p><p>I did some searching and found a VBScript that will send a proper ALT+F4 signal to a process. I tested this with Kega Fusion with success. Make a new file with the <strong>.vbs</strong> extension, such as <strong>close.vbs</strong> and paste the following text into it:</p><p></p><p>[code]</p><p>set shell=createobject("wscript.shell")</p><p>shell.appactivate("Fusion")</p><p>shell.sendkeys "%{f4}"</p><p>[/code]</p><p></p><p>The above script will focus on the first application whose title bar contains "Fusion" and then send ALT+F4 to it. I mention first application because if you have an explorer window open that also contains "Fusion" then it might be called and closed instead.</p><p></p><p>After this use the Translator program to call this script without any command-line arguments instead of process.exe when you press the desired remote button to close the emulator.</p></blockquote><p></p>
[QUOTE="Squega, post: 418561, member: 83742"] Killing a process via process.exe has worked with every emulator for me except Kega Fusion. If you kill its process then saves are lost and there is no option to do what ZSNES does to get around it. I did some searching and found a VBScript that will send a proper ALT+F4 signal to a process. I tested this with Kega Fusion with success. Make a new file with the [b].vbs[/b] extension, such as [b]close.vbs[/b] and paste the following text into it: [code] set shell=createobject("wscript.shell") shell.appactivate("Fusion") shell.sendkeys "%{f4}" [/code] The above script will focus on the first application whose title bar contains "Fusion" and then send ALT+F4 to it. I mention first application because if you have an explorer window open that also contains "Fusion" then it might be called and closed instead. After this use the Translator program to call this script without any command-line arguments instead of process.exe when you press the desired remote button to close the emulator. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My Emulators
How to close an emulator with the remote?
Contact us
RSS
Top
Bottom