Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time
February 10, 2015 19:47
November 24, 2014 00:37
February 10, 2015 19:47
November 23, 2014 23:28

Force (macOS)

Little AppleScript application for macOS which allows pasting text even when it’s not allowed (password dialogs etc). It uses virtual keyboard to type in the text from your clipboard. In other words, it tricks the program that asks for your input into thinking that you’re actually typing on your keyboard. See also the blog post with discussion.


  1. Download (ZIP, ≈15KB) app and drag it to /Applications.

Alternatively, you can install it through Homebrew:

brew cask install force-paste
  1. To make Force Paste work on MacOS Ventura, go to Settings -> Security & Privacy -> Privacy -> Accessibility:
  • Force Paste (/Applications/Force
  • applet (/Applications/Force
  • Script Editor (/Applications/Utilities/Script Editor)

(click che + sign and press shift + cmd + G and paste the above routes).

  1. Launch the app (you might have to right-click and select Open to confirm you want to run it).

Important note: if you're getting a "not allowed to send keystrokes" error, uninstall and repeat installation.


Copy the text you want to paste, then open the app from the Dock to have it immediately pasted.

How it works


cd Force-Paste/

Pull requests are welcome.


Icons by Tango Project and Alexandre Moore.

License (for code): WTFPL (Do What the Fuck You Want to) or MIT if you like.