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.

Keyboard event by keystroke sequence

If you have a question or need help, this is the place to be.
Post Reply
automatix
Posts: 3
Joined: Thu Oct 23, 2008 6:26 am
Location: Germany

Keyboard event by keystroke sequence

Post by automatix »

Hi all,

Is it possible in EventGhost to trigger an action/macro for successively pressed keystrokes? When two keys are pressed at the same time the event referring to this is ÔÇ£keyboard.<key1>+<key2>ÔÇØ. Is there also syntax for an event of pressing first <key1> and then after releasing it and pressing <key2>?

Because I require many of those keystroke sequences (and some of them may be long) a solution in such a manner of activating and deactivating of events/macros does not really scale.

Any help is appreciated. Thanks in advance.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Keyboard event by keystroke sequence

Post by Pako »

I am not sure I understand correctly. Maybe you will help plugin Multitap.
Pako
automatix
Posts: 3
Joined: Thu Oct 23, 2008 6:26 am
Location: Germany

Re: Keyboard event by keystroke sequence

Post by automatix »

Let me make an example. I want a marco to be executed after I pressed the key <1> then <2> then <3> successively for example on the keyboard. I want to execute another macro after I pressed key <2> then <3> and finaly <4>. When for further instance <3>, <4>, <5> is pressed nothing should happen because it meets neither marcos event definitions.

This would enable to define commands that can be entered at the keyboard leading to the execution of a maco.

Is this possible?
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Keyboard event by keystroke sequence

Post by Pako »

This configuration works exactly as described:
automatix1.png
automatix1.png (24 KiB) Viewed 2465 times
Multitap is set as follows:
automatix2.png
Pako
automatix
Posts: 3
Joined: Thu Oct 23, 2008 6:26 am
Location: Germany

Re: Keyboard event by keystroke sequence

Post by automatix »

Looks fabulous. Thanks Pako for this.
I didnÔÇÖt found this plugin in the official Plugin-List. But I found a download link here in the forum.

Have you a hint for me how to install it. I created a folder in the pluging directory and put the __init__.phy in there. The plugin appears in the list but for a reason unknown the ÔÇ£OKÔÇØ button stays unelectable. Thus unable to use it.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Keyboard event by keystroke sequence

Post by Pako »

automatix wrote:I didnÔÇÖt found this plugin in the official Plugin-List.
You can download the latest beta version of EG. There is a plugin Multitap included.
automatix wrote:Have you a hint for me how to install it. I created a folder in the pluging directory and put the __init__.phy in there. The plugin appears in the list but for a reason unknown the ÔÇ£OKÔÇØ button stays unelectable. Thus unable to use it.
You probably have some errors in the configuration. If the settings are correct, the button will be available.
Pako
Post Reply