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.

Wait Some time ?

If you have a question or need help, this is the place to be.
Post Reply
edward.81
Posts: 7
Joined: Thu Nov 11, 2010 9:34 pm

Wait Some time ?

Post by edward.81 »

Take this..

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1462">
    <Macro Name="mytest" Expanded="True">
        <Event Name="HID.Button.549" />
        <Action>
            Mouse.RightButton()
        </Action>
        <Action>
            EventGhost.Wait(1.0)
        </Action>
        <Action>
            Window.SendKeys(u'v', False)
        </Action>
    </Macro>
</EventGhost>
i'm expecting that right click is send then wait 1sec and type v
Instead is waiting 1 sec then right click and v is typed.
Bug ?
User avatar
jinxdone
Plugin Developer
Posts: 443
Joined: Tue Jan 02, 2007 4:08 pm

Re: Wait Some time ?

Post by jinxdone »

Split your macro into two and use "TriggerEvent" with 1 sec delay instead of using Wait.
edward.81
Posts: 7
Joined: Thu Nov 11, 2010 9:34 pm

Re: Wait Some time ?

Post by edward.81 »

Thank for the workaround.
Are in plane some new build ? The last version is from 2apr and i fear a stop working in this great project :/
Post Reply