A few pointers for desktop automation

Finally a post I'm happy about. If nothing else this should be useful for me : )

I've said from sometimes that I thing there is a limit around 15 seconds when it comes to users. If the correct action takes more than 15 seconds and the users gets away with anything else then many of them will do it[0][1].

So, an obvious take away from this is that we should simplify the correct patch of action to make sure it takes as little time as possible and hopefully even less time than the wrong ways.

Another observation is that it would be even better if the user wouldn't have to think about it at all, e.g.

With that in mind, here are some pointers[2]:

In the application

Are there scripting possibilities in the application that the user uses? Look for APIs or hooks.

If it is an internal tools, do you have access to ask for modifications?

Automation tools

A number of automation tools exist that can be used to listen to events and run scripts. Here are some pointer in no particular order:

(I'm very much interested in more alternatives here, feel free to contact me here @eitland@mstdn.io.

cron (Linux, Unix etc)

Mostly for server use but can be used to send reminders to users as well, ideally in a way that feels like helping them instead of nagging.

dbus-monitor (Linux)

In Linux desktops you can for example use dbus-monitor and listen to signals in the org.freedesktop.ScreenSaver interface to fire events on user login or logouts.

Scheduled tasks (Windows)

In my opinion one of a few things that I prefer on Windows[3]. It combines time and event based triggers into one interface so you can put all rules in one place, either something needs to happen at a specific time, at a random time in an interval, when the user logs in, after a period of inactivity etc etc.

Filed under: #desktop, #desktopAutomation, #automation

[0]: This is not in any way scientific, it is just me trying to put words to some observations I made while I was a sysadmin. And even if you kind of believe it, it still has a number of exceptions.

[1]: Some people are naturally good at following rules.

[2]: For now at least, just pointers with minimal explanations, I might or might not get back with more details later.

[3]: In addition to the things I mention above Windows scheduled tasks appears a lot more userfriendly than cron to me.