![](templates/Classic/images/spacer.gif) |
mordyne Newbie
Joined: 21 Apr 2013 Posts: 2
|
Posted: Sun Apr 21, 2013 6:44 pm
Bringing Cmud to the Front in Win8 |
I play two different muds and I'd like to have my killtrigger bring that instance of CMUD to the front so I know that I need to act. I've been using sounds but my ears have learned to tune them out apparently. If anyone has an idea of how this can be done, I'd appreciate it.
|
|
|
![](templates/Classic/images/spacer.gif) |
Tarn GURU
Joined: 10 Oct 2000 Posts: 873 Location: USA
|
Posted: Mon Apr 22, 2013 6:02 pm Re: Bringing Cmud to the Front in Win8 |
mordyne wrote: |
I play two different muds and I'd like to have my killtrigger bring that instance of CMUD to the front so I know that I need to act. I've been using sounds but my ears have learned to tune them out apparently. If anyone has an idea of how this can be done, I'd appreciate it. |
The CMUD COM interface does have a "cMUDFocus" method. Are you familiar with the COM scripting commands? (I have not used this particular call)
Another possibility: vbscript, SetFocus (though this has varied over the years based on Windows version and various Windows settings) |
|
|
![](templates/Classic/images/spacer.gif) |
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Tue Apr 23, 2013 1:36 am |
It seems to me I've tried that COM method and it doesn't work. This is the alias I use to focus cmud:
Code: |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<alias name="focuscmud" language="VBScript" copy="yes">
<value>Set WshShell = CreateObject("WScript.Shell")
WshShell.AppActivate "CMUD"</value>
</alias>
</cmud> |
|
|
|
![](templates/Classic/images/spacer.gif) |
mordyne Newbie
Joined: 21 Apr 2013 Posts: 2
|
Posted: Tue Apr 23, 2013 1:49 am |
Thanks both. I copy pasted the code Daern gave and it works perfectly!
|
|
|
![](templates/Classic/images/spacer.gif) |
|
|