Bug: BTTActions.pasteString() in "Run Real JavaScript" action is broken

With latest updates (not sure which one), the BTTActions.pasteString() method used in "Run Real JavaScript" action doesn't work anymore.

For example this code never prints test:

(async ()=> {

Removing the pasteString line makes it work again. It was working perfectly before. I would try downgrading BTT to narrow down which update introduced the issue, but I fear downgrading may cause issue, given the recent updates had introduced a new format of saving the actions. Let me know if I can try safely (or if you reproduce the issue on your side with provided code).

Device information:

  • Type of Mac: MacBook Pro M2 Pro
  • macOS version: 13.5.2
  • BetterTouchTool version: 4.266

sorry I forgot people are using this from JavaScript. Have added it back in 4.270!

Awesome, works fine again! Thanks Andreas!

By the way, thanks for the if/else and for loops actions, I'm sure I'll use them in some workflows soon. Great work!

See you :v: