Find and Replace in Selected Text

I'm trying to do something similar, but I can't get this example to fully work either. The last step, sending the ⌘V , sends the PREVIOUS clipboard contents. I've tried adding in manual delays between various steps thinking it's a timing issue, but that doesn't help either.

If I remove the ⌘V step, then manually hit ⌘V after running the script, it does what I would expect.

I'm testing with exact same script/action as Andreas's example above.

BTT 2.717 on Mojave 10.14.4.

Any thoughts?

2 Likes