Tech Tips

Random Mouse Distance in Keyboard Maestro

Here’s one way to choose a random item in a select list using just mouse movements and a random number. If you’re trying to do this in a browser there are cleaner ways to do it (javascript, chrome/safari actions, etc.), but for general usage across many applications this is a pretty universal solution.

2016-03-03_20-04-27

I was surprised to find that you can type variables into the tiny coordinate text fields. They get bigger when you do.

When executed, this will select a random item (excluding “- None -“) from the select list.

Leave a Reply

Your email address will not be published.