After using Ubuntu now for a while I am searching for a macro program like AutoHotkey. I found nothing on the net, so maybe you can help me out.
I used AutoHotkey for the following tasks / search for a macro program which can do the following:
- text replacement: I type br# and it gets replaced with best regards, Alex
- url opening: I mark a word and press a shortcut which opens my webbrowser with a specified URL like http://dict.leo.org?search=%s where %s is the marked word.
- hotkey for direct access to folder: I press for example <super>+1 and nautilus opens with eg. /media/backup/
- hotkey few folder: I press eg <cntrl>+<n> and a new folder is created and highlighted for renaming (or a dialog is presented where I only have to type in the name)
- paste as plain text: Strip all special markups in a text (like copied from firefox) and paste it.
- get pixel color: Press a hotkey to copy the pixel-colour under the mouse pointer to the clipboard or display it.
Do you know such a program which can perform all or a part of these actions? Let me know!
Lifehacker has a nice article: Feature: Automate Repetitive Typing with Snippits. Snippits does not support all the wanted features, but helps a lot.
Advertisements

I’m looking for the same program! In windows we have Quick Macros 2..
Me 2 🙂
Looking and looking.. The funny thing is that it should be possible, i mean i can use gclipper and simply pres ctrl+alt+c to get a list of strings from a clipboard.. not far away but not what im looking for 🙂 ..
I got Autohotkeys to work in Ubuntu Feisty Fawn, but only within the ‘wine’ application. I had to install VB 6.0 sp6 in order to get that far. Hopefully I’ll learn how to make Autohotkey more universal throughout other applications too.
xmacro would be a good program to use for that
XAutomation, like xmacro, is a command line based macro playback app but to my knowledge XAutomation has no record facility. YOu can bind xte to a command key. The thing that is still missing is the text replacement ability.
I stumbled across this post through Google, and I have the same issue.
Here are 3 tools which could be of some help:
– xmacro
– xautomation
– dogtail (python-dogtail) http://people.redhat.com/zcerza/dogtail/
I’m still investigating.
I am also looking for a macro program like Tasker for windows. I want to use it in Ubuntu though.
use xnee
It can be difficult to remember all the hotkeys linked to your macros. Everything is different with an overlay keyboard (like the Enterpad). Pressing the right labeled key will instantly generate the hotkey which will start the right macro.
I just found Autokey (http://autokey.sourceforge.net/) and I’m totally amazed!!
It’s a small Gnome friendly application written in Python which resides in the tray.
People want something simple, where they can easily start it from a drop down menu and then hit a start record key that begins recording all input, mouse and keys and then a stop record key.
Its as simple as that, thats what we want.
Xnee seems absolutely retarded as I have to go into a terminal, type in commands that it won’t accept, given from example files.
Hey I’m using Ubuntu 9.04 with Evolution and loving it. I’m just looking around trying to find a way to record a macro for sending emails. (I check the postmaster email account, and when I forward stuff on I like to add something like: This message came in to the “POSTMASTER” account.
But don’t feel like typing that out 500 times/day.
In Outlook it was so easy, I would just hit ctrl+shift+P and the macro would enter that text for me…
– J
Xnee is great when it works…
After some investigation:
Xnee the backend more or less,
cnee command line version “cnee -rec” records etc.
pnee appears on panel
gnee a fancy gui version
However!!! (Big However)
Under Jaunty 64 bit there is a problem with the record function and is thus useless…a fix is supposedly on the way.
xmacro is ok but i always value a gui that prevents me from having to search for the correct things to enter into the terminal..(also doesn’t have a man page)
I run autohotkey under wine with Ubuntu 8.04. Take a look around on the web and there are some examples.
Thanks to bro above for the lead to AutoKey! That is exactly what I was seeking, and actually, far better than what I was hoping for. I’m using it with Hardy, but they have packages ready for Intrepid, Jaunty, and Karmic too.
sudo apt-get install autokey
Is an easy way of getting autokey
Thanks to whomever started this thread and to all the responses. I’m still looking through the options, but IronAHK may be the answer for me.
https://github.com/polyethene/IronAHK
I found all these features with “AutoKey.” You can install it by searching for AutoKey in the Ubuntu Software Center.
It does come with a GUI and is not a command line based software.
Thanks!
Autokey does exactly what I want. Couple of hotkeys to insert e-mail, and address into numerous documents I need to type.
Many thanks.
-Andy, Oulu, Finland
Yep AutoKey is the one, going to use it right now infact to fill int he fields of the reply form 🙂 Thanks op & “bro”.
Only big prob I’ve found is it doesn’t seem to hide the hotkey keypresses from every app so I found some of my shortcuts conflicted with app shortcuts, especially when using the alt key and a letter in a shortcut. Also the interface is a little flaky (in my version of gnome desktop at least) but it’s clearly an early release and I’m sure it will improve with time.
Question: Will autohotkey record the Fn key?
p.s. I would like to record the Fn+F7 combination…