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.

Turn mouse double click into keystroke via EG?

If you have a question or need help, this is the place to be.
Post Reply
User avatar
zian
Site Admin
Posts: 569
Joined: Wed Jun 24, 2009 3:54 pm

Turn mouse double click into keystroke via EG?

Post by zian »

Nearly every video media player I use I can double click left actual mouse button and it expands/collapses the size of the window. From full to windowed and back again. All of them but Windows Media Center.

Can EG be made to "see" the mouse double click and convert it to the keyboard strokes needed to expand to full screen in WMC?

Gracies.
eventghost.net
Be there or be square.
jachin99
Experienced User
Posts: 614
Joined: Sat Feb 13, 2016 8:39 pm

Re: Turn mouse double click into keystroke via EG?

Post by jachin99 »

From https://technet.microsoft.com/en-us/lib ... 04226.aspx Alt+Enter toggles WMC fullscreen. You can use the send keystrokes macro to send this key combo, and I don't even think it will effect other windows because I believe that particular shortcut only applies to WMC. I'm glad to see I'm not the only one around here that still uses WMC!!
User avatar
zian
Site Admin
Posts: 569
Joined: Wed Jun 24, 2009 3:54 pm

Re: Turn mouse double click into keystroke via EG?

Post by zian »

Thanks for that.
That is what I do all the time.... with my remote.

But...
I want the mouse double click action to send the key strokes via EG.
eventghost.net
Be there or be square.
jachin99
Experienced User
Posts: 614
Joined: Sat Feb 13, 2016 8:39 pm

Re: Turn mouse double click into keystroke via EG?

Post by jachin99 »

If you can see your mouse ( if not I believe there is a mouse plugin) clicks in the log then there is a macro where if an event arrives twice in a given period of time EG jumps to a macro with your macro being the keystroke emulation. Is wmc giving you a handshake error or something similar until you minimize or maximize the window?
User avatar
zian
Site Admin
Posts: 569
Joined: Wed Jun 24, 2009 3:54 pm

Re: Turn mouse double click into keystroke via EG?

Post by zian »

Thanks again J,
I didn't realize there was a mouse plugin.
I found it and will futz with it in the morning.
I'll be back. THANKS AGAIN.

Search is our friend.
lol
eventghost.net
Be there or be square.
User avatar
zian
Site Admin
Posts: 569
Joined: Wed Jun 24, 2009 3:54 pm

Re: Turn mouse double click into keystroke via EG?

Post by zian »

Update...
I got it working. Sort of.
Using the mouse event plugin but instead of a consistent double left click (like all my other video media players) I used MouseEvent.Middle.Down to send the keystrokes to WMC.

Now... If only I hadn't dropped my Logitech Dark Net Mouse 20 or so times already and effected the "feel" of the mouse wheel pressing action it wouldn't feel as janky in the hand.

Best mouse I ever used by the way.
Not the buttons and all that... the sensor. It works great on near any surface.
Like the arm of my LazyBoy for example...
IMG_20171122_121902.jpg
eventghost.net
Be there or be square.
Post Reply