Can I automate Linux similar to AutoHotKey and AutoIT?
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My 2 cents:
A (very) brief review of Autohotkey gave me the impression that it's a program that emulates in Windows what can be done in Linux natively. That is, it's used to write scripts that will execute commands in Windows.
guys... i hate windows.
yes, i got used to it.
but it's just so bad.
xdotool looks promising.
gimp lacking: it's the keyboard shortcuts and a few usability factors. i wasn't meaning to slate it at all. i use it all the time now. it's awesome.
the question wasn't about gimp.
autohotkey semi-automates - that would be a good description amongst others.
when i get stuck and need to do something in an automated way, i'll make a post.
xdotool was already mentioned, another option would be xnee
These are for GUI, aside from just shell scripts, if you need to automate interaction with a CLI program that has prompts or an ncurses program, you may want to look at expect and misc ports of it (I found expect hardish to use due to my lack of tcl knowledge, but I used pexpect (a python module that does the same) for my needs a few times).
just remembered another one: http://xmacro.sourceforge.net/
although i must really stress that in most cases a simple (shell) script is the better solution.
Was wondering about this too, so far found tkbash...
I think I just wanted something that would convert selected terminal commands into a clickable button or even convert to bash script and create a shortcut to it if needed. Autohotkey is nice.
I just wanted something that would convert selected terminal commands into a clickable button
this is easy if you have a desktop that supports "clickable buttons" (i.e. desktop shortcuts).
right-click desktop => new shortcut => enter command you want executed => don't froget to check "Execute in terminal"
if the command is slightly more complex, i recommend to create a small script and point the desktop shortcut to that.
this is easy if you have a desktop that supports "clickable buttons" (i.e. desktop shortcuts).
right-click desktop => new shortcut => enter command you want executed => don't froget to check "Execute in terminal"
if the command is slightly more complex, i recommend to create a small script and point the desktop shortcut to that.
what's tkbash???
It is on github turns terminalcommands in gui... Haven't tried https://github.com/phil294/tkbash
don't know about yab either.. examples look confusing.
Launchy is like a menu bar activated with a hotkey when running for launching programs but you can make custom shortcuts to folders and files, it supports pluggin addons and is portable so as to run from a flash drive. it my be similiar to Do.... Can python be used like autohotkey?
zenity GUI for bash scripting/simple python gui Tkinter
Found a tutorial on zenity, it is sort of like a gui for bash scripting... It may write a bash script for what you do... youtube tells how to make a python gui called Tkinter (done in oop (programming))
Seeing how you even have access to the source of the very core, the kernal, I'd say, yes.
Yes, automation is quite possible, to the extent where it blows the mind. Windows can not compete. In the slightest.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.