Paste Into Restricted Field

PURPOSE

This macro provides a method to effectively paste text into a field that is otherwise restricted (e.g., a password confirmation)*. For many of these fields, the Keyboard Maestro action Insert Text by Typing will suffice (with or without the the Send To option). However, in cases when the web page or macOS app intercepts the Keyboard Maestro trigger, and/or in cases where the text must be pasted more slowly, this macro can be used.

Paste Into Restricted Field		⌃⇧V or ⌃⌥⇧V 

*When the text is long (e.g., with secure passwords copied from a password manager) this can be particularly aggravating.

MACRO USE

  • Move the focus away from the restricted field (web page or macOS app).
  • Optionally copy a text string into the Clipboard.
  • Trigger this macro; a settings dialog will appear.
  • Optionally modify the values displayed in the dialog: Wait before typing (in seconds; default = 5) , Text to type (default = Clipboard), and Delay between characters (in hundredths seconds; default = 0). Select the OK button.
  • During the specified Wait, return the focus to the restricted field and wait for the text to be entered by the macro. The submarine sound will be heard when the typing is complete.

SETTINGS

The Wait and and the Delay settings are saved for subsequent macro executions. However, if the Option Key (⌥) was included when the macro was triggered, Wait and Delay are reset to the default values, 5 seconds and 0 hundredths seconds, respectively. If necessary, these default values can be adjusted.

In contrast, the Text setting is not preserved; it always defaults to the value of the Clipboard.


PIRF2


[ continued ]

2 Likes