Generating random passwords with Keyboard Maestro
Even though there are a dozen tools and a dozen ways to generate a password, it’s possible to do that very thing using Keyboard Maestro. Why use Keyboard Maestro? Don’t be silly. The answer is obviously, well, why not? This is a simple macro that uses a dialog to get the length of the password, uses a List (Array) to set up the password, the RAND function to pick a letter, and indexing the List to find characters. It may not be practical, but it’s educational. I use this for generating test passwords. I test account generation on a regular basis and this makes sure we can handle special character and passwords of a certain length. It automates the process so I don’t have to switch apps, copy, then paste. As you can see from the example, the first step is to prompt for the length of the password. This is stored and used in the Repeat function later on. […]
Recent Comments