How can i do the option "Task switch (ALT+TAB)" with EventGhost and my haupauge remote?
I have an hauppauge remote that i set to work with EventGhost, Kmplayer, Screamer Radio, Dvbviewer and Winamp. And it works very good, and i'm very happy with it.
I would love to have an option to pres some key on my remote that would switch between the current running programs/windows (in the taskbar) and bring them to front. Not only the before mentioned, but also for example Firefox etc. I would switch the programs (windows) until i switched to the program i want
Sorry if this is in already explained, i searched but i didn't found anything (or didn't look hard enough)
I tried some options, the action find window bu it didnt work
Thanks for help
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.
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.
Task switch (ALT+TAB)
Re: Task switch (ALT+TAB)
thanks for the linkPako wrote:See here: OSD Volume display w/ current level? + ALT+TAB!?
Pako
i try to make something, but doesn't work. here is the screenshot of what i'm having in my code:
if u could explain me step by step what i need to add to the configuration, that would be great. HauppaugeIR.NAVLEFT and HauppaugeIR.NAVRIGHT are my buttons on my remote that a wish to assing the alt+tab commands
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Task switch (ALT+TAB)
Oh, you are still not found one big magic EG.
When some code starts with <? Xml version = "1.0" encoding = "UTF-8"?>, It's code in XML format. This code should be pasted directly into the configuration tree EG, and not into the dialog "Python script"! This snippet you get so, that you do copy a folder or a macro in the configuration tree and paste for example in a text editor.
Pako
When some code starts with <? Xml version = "1.0" encoding = "UTF-8"?>, It's code in XML format. This code should be pasted directly into the configuration tree EG, and not into the dialog "Python script"! This snippet you get so, that you do copy a folder or a macro in the configuration tree and paste for example in a text editor.
Pako
Re: Task switch (ALT+TAB)
aaaahPako wrote:Oh, you are still not found one big magic EG.
When some code starts with <? Xml version = "1.0" encoding = "UTF-8"?>, It's code in XML format. This code should be pasted directly into the configuration tree EG, and not into the dialog "Python script"! This snippet you get so, that you do copy a folder or a macro in the configuration tree and paste for example in a text editor.
Pako
i deleted the folder alt_tab that i created, pasted the code belove into notepad, copied it back to configuration tree EG and it works.
thankU thankU
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1262">
<Folder Name="alt_tab" Expanded="True">
<Macro Name="Push and hold ALT, send TAB" Expanded="True">
<Event Name="HauppaugeIR.GO">
</Event>
<Action>
EventGhost.PythonScript(u'import win32api\nwin32api.keybd_event(18,0,0,0)\nwin32api.keybd_event(9,0,0,0)\nwin32api.keybd_event(9,0,2,0)')
</Action>
</Macro>
<Macro Name="Release ALT" Expanded="True">
<Event Name="HauppaugeIR.GUIDE">
</Event>
<Action>
EventGhost.PythonScript(u'import win32api\nwin32api.keybd_event(18,0,2,0)')
</Action>
</Macro>
</Folder>
</EventGhost>