4 ms·
It's hard to automate something with a GUI. It is also hard to make programs interoperate if they use a GUI.
by 29athrowaway 6y ago
It's hard to automate something with a GUI.
It is also hard to make programs interoperate if they use a GUI.
- MayeulC 6y agoIt doesn't necessarily have to, though : look at plan9. IIRC GUIs respected UNIX's " everything is a file" philosophy, and thus were introspectible, modifiable and scriptable from other programs. Looking at modern desktop Linux, I wish it had retained more of this. Unfortunately, d-bus, GObject and Wayland aren't really file-based.
- yuribro 6y agoI think that we just don't have a standard for it. I know people use AutoHotkey to automate a lot of workflows involving GUI applications. Recently there was a thread about Factorio (the game), which is all about automating. And once you have standard-ish inputs & outputs, you can achieve a lot of automations, in a different way. It also highlights that the shell has limitations: it's hard to give multiple inputs, and handle outputs and create a complex pipeline. (I guess that's why we have things like Airflow)
- jabirali 6y agoIt doesn't have to be though, there's just a high correlation between hard-to-automate apps and non-command-line apps. You can e.g. make a GUI app where every button or keybinding is bound to a named function (GUI Emacs comes to mind), and where those named functions can be used in scripts. Another option is to have a scriptable backend; LibreOffice has a terminal interface that lets you e.g. convert between document formats from a shell script, and Astroid Mail is built on Notmuch as its backend which is scriptable.
- foxdev 6y agoReaper has a billion actions you can assign to key combinations, and you can build your own toolbars from them. I think it's as close to a console application as I've seen a GUI get. It also has a scripting language you can use to make just about anything. GUI Emacs sounds like it probably influenced the Reaper people.
- lostmsu 6y agoThat has less to do with being shellable and having a proper library support. The entire Microsoft Office suite is extremely well automatable.