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.

My ALT+TAB python config doesn't work with Windows 8 :(

If you have a question or need help, this is the place to be.
Post Reply
stisev
Experienced User
Posts: 162
Joined: Tue Jun 26, 2007 2:55 am

My ALT+TAB python config doesn't work with Windows 8 :(

Post by stisev »

This configuration does not work anymore with windows 8. Windows 7 or before it works beautifully :(

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1640">
    <Folder Name="ALT+TAB" Expanded="True">
        <Macro Name="Push and hold ALT, send TAB" Expanded="True">
            <Event Name="Firefly.Help" />
            <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="Firefly.Mouse" />
            <Action>
                EventGhost.PythonScript(u'import win32api\nwin32api.keybd_event(18,0,2,0)')
            </Action>
        </Macro>
    </Folder>
</EventGhost>

Can anyone help? pretty please!!
stisev
Experienced User
Posts: 162
Joined: Tue Jun 26, 2007 2:55 am

Re: My ALT+TAB python config doesn't work with Windows 8 :(

Post by stisev »

Help me pako. ur my only hope! ;)
leothlon
Experienced User
Posts: 59
Joined: Tue Dec 17, 2013 6:29 pm

Re: My ALT+TAB python config doesn't work with Windows 8 :(

Post by leothlon »

Can you explain abit more what you want done?

Brings up the alt tab "selection menu" and keep it up untill a window is selected?
if that is the case try alt + ctrl + tab, on my windows 8 machine it brings up alt tab menu and keep it up untill i select a window with "enter" key.

i cant get it to work with windows 7 tho. will try your python script when i get home to my htpc running win7, been looking for a way to do it :D
stisev
Experienced User
Posts: 162
Joined: Tue Jun 26, 2007 2:55 am

Re: My ALT+TAB python config doesn't work with Windows 8 :(

Post by stisev »

Can you explain abit more what you want done?
Hi,
Basically I want to open the alt tab menu and cycle through the different entries.
Brings up the alt tab "selection menu" and keep it up untill a window is selected?
Yes, but I would be selecting the correct entry by pressing the specific key (lets say KEY1), then choosing that entry using KEY2.
if that is the case try alt + ctrl + tab, on my windows 8 machine it brings up alt tab menu and keep it up untill i select a window with "enter" key.
This doesn't work for me. Can you post your entry?

Here's mine

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1640">
    <Macro Name="Push and hold ALT, send TAB" Expanded="True">
        <Event Name="Firefly.Help" />
        <Action>
            Window.SendKeys(u'{Ctrl+Alt+Tabulator}', False)
        </Action>
    </Macro>
</EventGhost>
i cant get it to work with windows 7 tho. will try your python script when i get home to my htpc running win7, been looking for a way to do it :D
leothlon
The one I posted in the opening post one worked for XP, Vista, and Windows 7 :)



If anyone can help me do this, I would sincerely appreciate it!
stisev
Experienced User
Posts: 162
Joined: Tue Jun 26, 2007 2:55 am

Re: My ALT+TAB python config doesn't work with Windows 8 :(

Post by stisev »

BTW, it was definitely Pako who made this
see
http://www.eventghost.org/forum/viewtop ... f=2&t=1729
stisev
Experienced User
Posts: 162
Joined: Tue Jun 26, 2007 2:55 am

Re: My ALT+TAB python config doesn't work with Windows 8 :(

Post by stisev »

So the only workaround I have found so far is to use VistaSwitcher. I have to admit this is a ghastly solution since a) it's not portable b) I have to run yet another program.

For anyone who cares:
Download vistaswitcher

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1640">
    <Folder Name="ALT+TAB (Win8 - VistaSwitcher" Expanded="True">
        <Macro Name="Push and hold ALT, send TAB" Expanded="True">
            <Event Name="Firefly.Help" />
            <Action>
                Window.SendKeys(u'{Win+F11}', False)
            </Action>
        </Macro>
        <Macro Name="Release ALT" Expanded="True">
            <Event Name="Firefly.Mouse" />
            <Action>
                Window.SendKeys(u'{Return}', False)
            </Action>
        </Macro>
    </Folder>
</EventGhost>

That works for me.


Please Please Please!! If there's any other way to get this done using the default switcher, I would greatly appreciate a notice. I have tried all known available solutions and failed.
leothlon
Experienced User
Posts: 59
Joined: Tue Dec 17, 2013 6:29 pm

Re: My ALT+TAB python config doesn't work with Windows 8 :(

Post by leothlon »

i didn't actually try ctrl + alt + tab throu EG keystimulaton. just tried it manually on win8 comp at work and there was no problem. other than that i dont know unfortunatly.
stisev
Experienced User
Posts: 162
Joined: Tue Jun 26, 2007 2:55 am

Re: My ALT+TAB python config doesn't work with Windows 8 :(

Post by stisev »

leothon
lol. I know it's control-tab. The tricky part of is getting it to work in EG.

Does no one have a way to do this in Windows 8/8.1?
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: My ALT+TAB python config doesn't work with Windows 8 :(

Post by Pako »

Read this.
It seems that (for EventGhost) it is impossible to do it without using an auxiliary program.
Unfortunately, EventGhost.exe is not signed.

Pako
frangagn
Posts: 1
Joined: Wed Jan 22, 2014 5:14 pm

Re: My ALT+TAB python config doesn't work with Windows 8 :(

Post by frangagn »

Stisev, thanks for this solution. It works half for me though... probably just a little more tweaking.

I installed Vistaswitcher, and pasted the code you kindly provided. Now when I press the Firefly.Help key, it shows Vistaswitcher, but after that nothing else works. I have to revert to gold old keyboard!

Any clue of what I'm doing wrong, if this works for you?

I'm using a Surface Pro with Windows 8.1

Thanks!
Tryanderror
Posts: 10
Joined: Wed Jun 08, 2011 8:48 pm

Re: My ALT+TAB python config doesn't work with Windows 8 :(

Post by Tryanderror »

Hello,

no idea if this might work with Windows 8, but you could try to write an AutoIt-script that deals with these keys and call autoit3.exe from eventghost with path and name of the script as command line option (action: Start application). AutoIt3.exe is digitally signed.

Best wishes
Tryanderror
Post Reply