In linux (Ubuntu 10.04) is there a command line way to tell a program to preform an action? Let's say, for example, tell pid 12345 to execute "Ctrl+S" without stealing focus from my current window?

I don't think what I'm looking for is a "macro" because I want it to be executed in the background.

Thanks!

link|improve this question

71% accept rate
feedback

1 Answer

Here is a previous answer that may help: Adobe's answer to 'What do you use for linux keyboard macros?'

link|improve this answer
It's indeed a macro usage, since I cannot send a command to a window without first bringing it to focus. – Mikhail Dec 22 '11 at 19:27
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.