Force-Paste icon indicating copy to clipboard operation
Force-Paste copied to clipboard

FP in Big Sur

Open scfurl opened this issue 4 years ago • 17 comments

Hi, Thanks for a great script. It seems as though Big Sur no longer allows this activity even with FP accessibility enabled. Would appreciate any ideas on how to work around as FP is so handy.

image image

scfurl avatar Dec 18 '20 08:12 scfurl

Screen Shot 2020-12-31 at 10 17 17 PM

Force Paste is not allowed to send keystrokes. System Events got an error: Force Paste is not allowed to send keystrokes. (1002)

WoodpeckerBaby avatar Dec 31 '20 14:12 WoodpeckerBaby

What helped me was to remove Force Paste from Accessibility and add it again. After that it started to work again.

2021-01-09_11-56-11

rdouma avatar Jan 09 '21 14:01 rdouma

@rdouma Thank you very much! I've added your recommendation to the README.

EugeneDae avatar Jan 10 '21 08:01 EugeneDae

This issue has returned in Big Sur 11.4. Previous troubleshooting steps, including removing and re-adding the app in Accessibility, do not resolve.

clixx52 avatar Jun 01 '21 18:06 clixx52

I am having the same issue in Big Sur 11.4

ismailyenigul avatar Jun 01 '21 18:06 ismailyenigul

I have saved the main.script applescript as a .app and it is allowed to input keystrokes somehow, to the contrary of the force-paste.app. I do not get why to be honest.

The problem is, there's a focus issue, the script takes focus and all keystrokes are sent to the script, so I get a bunch of alert sounds. Someone knows how to prevent the applescript from taking focus (becoming frontmost app)? Wasn't happening before.

Qhilm avatar Jun 01 '21 19:06 Qhilm

So I made an Alfred workflow with a "hotkey" trigger linked to an Run Script action with the content of main.scpt. This works for me now, it doesn't steal focus anymore. Still no explanation as to why Force-Paste.app stopped working though.

Qhilm avatar Jun 02 '21 08:06 Qhilm

I managed to fix it, the key is to make sure the applet also has Accessibility permissions.

Those steps might not be required but I'd recommend just in case (I've done them while trying to make it work):

  1. Uninstall the app (delete it from the Applications folder).
  2. Install it again.

Then:

  1. Go to System Preferences -> Security & Privacy -> Privacy -> Accessibility -> add Force Paste.app (from the Applications folder).
  2. Still on the Accessibility section, click on the Add (+) again, Finder will open, hit CMD+Shift+G, and paste /Applications/Force Paste.app/Contents/MacOS.
  3. Add applet.

rdsedmundo avatar Jun 02 '21 18:06 rdsedmundo

Hi @rdsedmundo it did not work for me initially. I added applet and Force Paste. Later, I removed applet and added again. But did not work. Finally, I also enabled Zoom in Accessibility to trigger a change in macOS. And now it works! Thanks.

ismailyenigul avatar Jun 04 '21 12:06 ismailyenigul

  1. Still on the Accessibility section, click on the Add (+) again, Finder will open, hit CMD+Shift+G, and paste /Applications/Force Paste.app/Contents/MacOS.
  2. Add applet.

This worked for me, awesome, so glad to have it back. Thanks @rdsedmundo

Logic1-LM avatar Jun 08 '21 04:06 Logic1-LM

Great, that did the job! I had to delete the app indeed; simply adding the applet wasn't good enough. Thanks!

rdouma avatar Jul 13 '21 11:07 rdouma

I managed to fix it, the key is to make sure the applet also has Accessibility permissions.

Those steps might not be required but I'd recommend just in case (I've done them while trying to make it work):

  1. Uninstall the app (delete it from the Applications folder).
  2. Install it again.

Then:

  1. Go to System Preferences -> Security & Privacy -> Privacy -> Accessibility -> add Force Paste.app (from the Applications folder).
  2. Still on the Accessibility section, click on the Add (+) again, Finder will open, hit CMD+Shift+G, and paste /Applications/Force Paste.app/Contents/MacOS.
  3. Add applet.

Tried everything suggested here, including this method multiple times. Unfortunately without getting force paste to work. I am still getting the original error.

On MacOS Big Sur 11.4 (20F71)

Graunephar avatar Mar 01 '22 19:03 Graunephar

Hi @rdsedmundo it did not work for me initially. I added applet and Force Paste. Later, I removed applet and added again. But did not work. Finally, I also enabled Zoom in Accessibility to trigger a change in macOS. And now it works! Thanks.

Thank you for this idea! This actually worked for me. I also added the applet and Force Paste, but that didn't work. Going into the Accessibility settings and toggling something (in my case I toggled Voice Over) and now we are back in business!

tresni avatar Nov 11 '22 21:11 tresni

None of the methods above worked for me on Ventura 13.2 (22D49). I had to add the Script Editor too.

(for the search engines) To make Force Paste work on MacOS Ventura you have to add:

  • Force Paste
  • applet (/Applications/Force Paste.app/Contents/MacOS/applet)
  • Script Editor (/Applications/Utilities/Script Editor)

to Settings -> Security & Privacy -> Privacy -> Accessibility

jblakecoco avatar Jan 29 '23 12:01 jblakecoco

Tried everything mentioned above, but I'm unable to launch Force Paste on MacOS Ventura 13.2 (22D49) on MacBook M1, Language 'Danish'.

Would be awesome if someone could advise another workaround or update the App to work. Do we have any alternative Apps/features for solving our 'Paste' issue :) ?

mrmaceurope avatar Feb 01 '23 19:02 mrmaceurope

I upgraded to MacOS Ventura last week, followed the steps from my comment again (because I had forgotten) and it worked.

rdsedmundo avatar Feb 01 '23 20:02 rdsedmundo

Great stuff @jblakecoco! I created a pull request to include your instructions.

cellulosa avatar Apr 05 '23 14:04 cellulosa