Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: saravanan on February 12, 2010, 06:49:43 AM

Title: How to trigger/invoke a key stroke
Post by: saravanan on February 12, 2010, 06:49:43 AM
Hi all,
         How to initiate/trigger a key stroke, as if the user has pressed those keys??
Title: Re: How to trigger/invoke a key stroke
Post by: gerald_clark on February 12, 2010, 11:29:32 AM
It depends on what you are doing.
Title: Re: How to trigger/invoke a key stroke
Post by: jur on February 12, 2010, 04:23:48 PM
I assume you mean key macros? If you use jwm, that can be custom programmed.

You could ask for an extension that does this such as autokey http://autokey.sourceforge.net/ (shameless plug for my son who is the author).
Title: Re: How to trigger/invoke a key stroke
Post by: gerald_clark on February 12, 2010, 04:26:02 PM
Input redirection and expect scripts are other methods.
It depends on what needs the keystrokes.
Title: Re: How to trigger/invoke a key stroke
Post by: curaga on February 12, 2010, 04:36:24 PM
Google for xtest, that is the extension apps can use to simulate input events. IIRC there are many apps using that.