RE: https://kolektiva.social/@beka_valentine/117594560805062057 (quoting because...
Tony Finch @fanf@mendeddrum.org
RE: https://kolektiva.social/@beka_valentine/117594560805062057
(quoting because i’m a bit late to join this conversation)
one of the smoothest onramps to programming is when the user can take some manual process they are already familiar with and turn it into a reusable script
this is natural for a command line or a repl, but of course a command line just shifts some of the difficulty earlier in the learning process
the problem with a gui or a web browser is there’s usually no simple way to turn a series of interactions into a script: a mouse or keyboard action isn’t reified as a command object that the user can manipulate
there are awkward addons that do robotic process automation, or that are intended to be testing frameworks for web frontends, but they are typically afterthoughts that have to do a lot of work to cope with the gui
(the gui isn’t layered on the commands: instead the commands are retconned from the gui, usually in a manner that’s fragile to minor design changes)
and generally the kind of interfaces that are useful for automation are also useful for accessibility: being able to introspect the gui and discover which buttons correspond to which commands
things like apple automator and windows autohotkey should be core parts of how people use their computers beyond the basics: it should be easy for users to record a series of actions, make a button or hotkey that triggers them, and see and edit the actions as a script
(i’ve dabbled with automator and applescript and i generally found it baffling, really hard to relate script actions to the gui)