WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to trigger/invoke a key stroke  (Read 1793 times)

Offline saravanan

  • Jr. Member
  • **
  • Posts: 59
How to trigger/invoke a key stroke
« on: February 12, 2010, 03:49:43 AM »
Hi all,
         How to initiate/trigger a key stroke, as if the user has pressed those keys??

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How to trigger/invoke a key stroke
« Reply #1 on: February 12, 2010, 08:29:32 AM »
It depends on what you are doing.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: How to trigger/invoke a key stroke
« Reply #2 on: February 12, 2010, 01: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).

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: How to trigger/invoke a key stroke
« Reply #3 on: February 12, 2010, 01:26:02 PM »
Input redirection and expect scripts are other methods.
It depends on what needs the keystrokes.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10963
Re: How to trigger/invoke a key stroke
« Reply #4 on: February 12, 2010, 01:36:24 PM »
Google for xtest, that is the extension apps can use to simulate input events. IIRC there are many apps using that.
The only barriers that can stop you are the ones you create yourself.