Force-Paste

by EugeneDae

EugeneDae /Force-Paste

Paste text even when not allowed (password dialogs etc) in macOS

136 Stars 12 Forks Last release: over 5 years ago (1.0.1) 20 Commits 3 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Force Paste.app (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.

DOWNLOAD (ZIP, ≈15KB)

Alternatively, you can install it through Homebrew:

brew cask install force-paste

After installation, make sure to put the app in the Dock. Advanced users familiar with the Scripts menu can put it there to save space in the Dock.

Usage

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

How it works

Important note to macOS Mojave users: if you're getting a "not allowed to send keystrokes" error, simply add Force Paste.app to System Preferences > Security & Privacy > Accessibility. See issue #7.

Building

cd Force-Paste/
./build.sh

Pull requests are welcome.

Copyrights

Icons by Tango Project and Alexandre Moore.

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.