The Store and Retrieve Keychain Passwords topic shows how to use the Keychain to hold your passwords and then use them securely. A common use case for this is to access a web site.
Here is an example showing how to do this.
The process is pretty simple - open the web page, wait for it to finish loading, and then fill in the form with the username and password and then submit the form.
Web Login With Keychain.kmmacros (3.5 KB)