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.

Emulated Keystroke problem

If you have a question or need help, this is the place to be.
Post Reply
murts
Posts: 2
Joined: Fri Aug 12, 2011 8:24 am

Emulated Keystroke problem

Post by murts »

Hi guys,

Hopefully a dead easy one here, I'm using EG 0.3.7.r1462 and Window 7.

I'm wanting to emulate keystroke {Alt+Up} in the Windows File Explorer, i.e. to go up to the parent directory.
When I select this in EG the command sent to windows is the 'Back' command not the 'Up' command.

Any help would be much appreciated.

Cheers.
murts
Posts: 2
Joined: Fri Aug 12, 2011 8:24 am

Re: Emulated Keystroke problem

Post by murts »

This is still a pain, anybody ?
kalia
Experienced User
Posts: 109
Joined: Wed Aug 12, 2009 1:10 am

Re: Emulated Keystroke problem

Post by kalia »

What actions have you tried?

I tried the following and it worked fine:

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1540">
    <Macro Name="Emulate Keystrokes: {Alt+Up}" Expanded="True">
        <Action>
            Window.FindWindow(u'explorer.exe', None, None, u'', u'ToolbarWindow32', 1, False, 0.0, 0)
        </Action>
        <Action>
            Window.BringToFront()
        </Action>
        <Action>
            Window.SendKeys(u'{Alt+Up}', True)
        </Action>
    </Macro>
</EventGhost>
Post Reply