Re: Keyboard macros?
Robert Marshall <[email protected]>
| Newsgroups | gmane.linux.mandrake.expert |
|---|---|
| Organization | The first against the wall |
| Message-ID | <[email protected]> |
On Tue, 26 Oct 2010, David Guntner wrote: > > Kenneth Marcy grabbed a keyboard and wrote: >> On Tuesday 26 October 2010 20:30:34 David Guntner wrote: >>> I've been using Konsole to do my terminal (shell) work in KDE. I >>> like it, but it doesn't seem to have any kind of keyboard macro >>> functionality. I'd like to have it be able to record what I'm doing >>> as I key my way through various repetitive steps and save it so that >>> I can then hit one key and have it repeat the whole bloody >>> complicated process, thus saving me typing. :-) >>> >>> Is there any such console program available under Mandriva 2010.1? >> >> m4 and m4-debug > > Looks like it could be useful from a preliminary look-over, but I'm > not sure I anything where it can accept input in the form of recording > my keystrokes as I make them. Can it? (I'll be looking further into > it.) > I know it's not a console program ;-) but there's always emacs! Run a shell within emacs (M-x shell) start a macro sequence (C-x ( ) do your task (possible using dired mode?), end macro sequence (C-x ) ) Then repeat macro C-x e - though if the shell commands are asking for input, you might need to store the inputs in another buffer and yank successively them into the shell buffer to prevent the input becoming part of the macro. You can also put the macro into your .emacs to be remembered for another time Robert -- La grenouille songe..dans son château d'eau Links and things http://rmstar.blogspot.com/