This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -# Have 1Password Mini enabled | |
| -# Configure Ubikey with the Challenge-Response mode (Slot 2 per defaut, change -2 by -1 to use Slot 1) | |
| -# Get the response of /usr/bin/sudo /usr/local/bin/ykchalresp -2 *PIN_CODE* and set it as your 1Password master password | |
| -# Modify the pin in the code below | |
| -# Create a service in Automator, paste the script, set the script input as none, save it | |
| -# Open MacOS Shortcut preferences, create a service with the exact same name, define a shortcut | |
| -# The app that has the focus when you press the shortcut has to have assistive access | |
| on toggle_mini() | |
| tell application "System Events" to tell process "1Password mini" |
NewerOlder