LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2014, 02:23 PM   #1
thriftee
Member
 
Registered: Jan 2009
Posts: 42

Rep: Reputation: 2
Need to record and playback keyboard macros in Openbox


I want to assign 8 keys to be able to record and playback 4 different keyboard macro files. Mousing is not needed, just keystrokes would be fine.

I'm looking to be able to use this whether in a terminal session or mc or hopefully any program that doesn't have those 8 keys assigned to anything already.

I would like to run them from keybindings in openbox's rc.xml file that would then run a command to start recording, and another keystroke would tell it to stop recording and close the file. Hopefully it would be a readable file that I could save or edit if I wanted to, and playback when I wanted to. Perhaps I would only need one key to record and one more to playback if it would popup a save as box and an open box?

Anyone know a way I can to this?

Thanks

PS: A pause and resume function on record and maybe playback would be awesome, too

Last edited by thriftee; 12-16-2014 at 02:59 PM.
 
Old 12-17-2014, 07:00 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,479

Rep: Reputation: Disabled
Perhaps 'script' will do what you want.
(man script)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not record audio (silent on playback) Fixit7 Puppy 2 10-31-2014 02:37 PM
[SOLVED] Need program to run keyboard macros in any app. under Mint jbrucek Linux - Newbie 1 10-16-2012 02:11 PM
Something to record & play "screen macros"--? infidel Linux - Software 2 08-23-2005 01:47 PM
[ALSA] Noisy playback after I record from line in halfzware_shag Linux - Software 0 11-27-2004 08:49 AM
Audio: Full duplex (playback/record) Utah Linux - Hardware 2 07-17-2004 11:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration