7 ms·
But where are the tools? Of course I can always write a shell script, but the vast majority of GUI tools is not programmable. I would love to automate my image
by Derbasti 9y ago
But where are the tools? Of course I can always write a shell script, but the vast majority of GUI tools is not programmable.
I would love to automate my image capturing workflows, my tax filing, my invoicing, my calendaring, my contacts, and SO many other things. But most tools are not scriptable. They are sealed, proprietary binaries that I can't interact with.
Conversely, I love tools like the shell, Emacs, and programming tools in general, because I can automate them. I can automate testing, compiling, generating reports... And if something is not built-in, these tools provide hooks and APIs to extend their functionality for my particular use cases.
In fact, we can already see the impact of smartphone-only students on their ability to grasp and automate complex workflows. The fact that mobile apps are largely non-composable and non-programmable seems to seriously limit students' abilities in general digital problem solving.
- andy_ppp 9y agoI always remember being impressed by the Amiga and the ability to automate GUI applications with Arexx - I know OSX has Automator but apps don't seem to integrate as deeply (if at all) and Apple script feels nasty.
- flukus 9y agoAs someone with some potential admin work coming up, can anyone recommend some good cli tools for office work? I'd love to be able to take a word/libreoffice template and generate a document by supplying command line parameters for example. > In fact, we can already see the impact of smartphone-only students on their ability to grasp and automate complex workflows. The fact that mobile apps are largely non-composable and non-programmable seems to seriously limit students' abilities in general digital problem solving. Computers became so easy to use that no one learns how to use them. It's no wonder grandma always opens that attachment with an exe extension, file extensions have been hidden for as long as she's used computers, she doesn't know what the convey. Teaching kids to code is the latest fad but I think the majority of them would be much better served learning some basic bash scripting and related unix tools.
- Immortalin 9y agoVisual Basic for Applications. The Red programming language.
- flukus 9y agoIs VBA good from the command line? I did a course on it ~10 years ago but it was always used from within applications.
- ojosilva 9y agoYes, you can run VBA from VBScript, Perl, etc. Basically any scripting language that can instantiate ActiveX VBA automation. http://stackoverflow.com/questions/2050505/way-to-run-excel-macros-from-command-line-or-batch-file http://stackoverflow.com/questions/2050505/way-to-run-excel-... http://stackoverflow.com/questions/27613878/list-of-perl-commands-to-manipulate-windows-excel-with-win32ole-module http://stackoverflow.com/questions/27613878/list-of-perl-com...
- krotton 9y agoPandoc can generate and convert between various document types, including Office docs based on a template (although I haven't used the option myself, I just convert Markdown to PDF/HTML most of the time).
- PeterisP 9y agoYou use a scripting language - most languages have somewhat usable libraries for manipulating e.g. MS Office documents directly, not through the Office applications.
- yardshop 9y ago> I'd love to be able to take a word/libreoffice template and generate a document by supplying command line parameters for example. Python with PyWin32 is great for this, the Word doc part anyway. I've got several scripts the create modify or read Excel and Word docs for a number of different purposes: tracking my mileage, automating creation of new users (now done with Powershell though), converting and uploading documents to a web server. VBA/VBScript can do some of these things too, but Python is a much more capable and sane language to use. Powershell is another great automation choice too.
- pjmlp 9y agoOn Apple and Windows we have Apple Script, COM, WPF Automation and quite a few other third party tools when the applications don't expose any kind of API.
- buzzybee 9y agoAutoHotKey? In some respects I think the apparent lack of automation in GUI comes down to the methods by which it's accomplished feeling too crude to take seriously. Even ordinary "power user" apps like Excel are so in-depth already and support so many workflows that it's hard to figure out the efficient path for what you want to do.
- lifeisstillgood 9y agoMy very old contribution to this debate is a term I am hoping to bring to the mainstream - topless computing. (Things like GUIs try to put a top on our data. Like owning the customer. And we always want to do more than the person who sealed it shut thought of) http://www.mikadosoftware.com/articles/topless_computing http://www.mikadosoftware.com/articles/topless_computing
- onion2k 9y agothe vast majority of GUI tools is not programmable Start factoring "is this thing automatable?" in to your tooling decisions. The problem will resolve itself.
- rtpg 9y agoOTOH, almost all major OSes also have tools that let you automate stuff at the input layer, so you can automate any GUI tool. The difficulty comes with race conditions on inputs.
- adrianN 9y agoYou could also directly twiddle the bits in RAM to automate stuff. I prefer using tools that were built with automation in mind.
- omginternets 9y agoIncidentally, hammerspoon [0] is pretty amazing if you're looking to automate MacOS stuff. [0] http://www.hammerspoon.org/go/ http://www.hammerspoon.org/go/
- melling 9y agoLooks useful. I'd really like Siri integration. Actually, I'd probably want to say "Hammerspoon", then a menu would appear and I would say a keyword or a number.
- Chris2048 9y agoA lot of polished produce lack this feature. You end up turning away a 90% solution for a 70% solution because the former isn't programmable. Emacs, for example, can easily become a maintenance nightmare.
- rhizome 9y agoDoesn't Emacs itself have calendaring options? If you're already using it and like it for its scriptability, maybe you're a classic candidate to bloat up your Emacs a bit.
- jfoutz 9y agoEight Megs Always Constantly Swapping.
- Edmond 9y agotry HiveMind: http://www.crudzilla.com/ http://www.crudzilla.com/ It self referencing and you can add your own changes to it to automate you specific tasks.