AutoRemote System.ClipboardChanged event not captured in EventGhost

Discussion in 'AutoApps' started by tlewis3348, Dec 2, 2015.

  1. tlewis3348

    tlewis3348 New Member

    Joined:
    Dec 2, 2015
    Messages:
    10
    Likes Received:
    0
    I am currently having trouble getting EventGhost to capture the System.ClipboardChanged event.

    Code (Text):
    <?xml version="1.0" encoding="UTF-8" ?>
    <EventGhost Version="1710">
        <Macro Name="Send clipboard to my device" Expanded="True">
            <Event Name="System.ClipboardChanged" />
            <Action>
                AutoRemote.SendMessage(u'Moto X', u'http://goo.gl/FAkeurl', u'MyDeviceKey', u'copy=:={eg.WinApi.Clipboard.GetClipboardText()}', u'', u'', u'', '', u'', u'')
            </Action>
        </Macro>
    </EventGhost>
    Can anyone explain what I'm doing wrong? If I manually execute the macro, it runs fine, but it's not getting executed when the clipboard changes.
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    805
    Does the event show up in the left pane in EventGhost when your clipboard changes?
     
  3. tlewis3348

    tlewis3348 New Member

    Joined:
    Dec 2, 2015
    Messages:
    10
    Likes Received:
    0
    No. Nothing happens at all when I copy text (either through Ctrl-C or Right click - Copy).

    Edit: Just tried it on a different computer, and it seems to work fine. I'm still not sure why the event wouldn't be captured on the computer I was originally trying it with. I initially had the macro attached to the Ctrl-C event (because I didn't know about System.ClipboardChanged), so maybe the mapping of the hotkey got messed up somehow. But like I said, it didn't work when I use the right-click method either.
     
    Last edited: Dec 3, 2015
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    805
    That's a problem with EventGhost then. If the clipboard isn't being monitored then the event will never happen and the macro won't be executed. Sorry I don't know why the clipboard wouldn't be monitored in your case...
     
  5. tlewis3348

    tlewis3348 New Member

    Joined:
    Dec 2, 2015
    Messages:
    10
    Likes Received:
    0
    As it turns out, restarting the system fixed the problem.
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,481
    Likes Received:
    805
    Great :)
     

Share This Page