Command paste in apple scripting dialog box

I am hoping to be able to solve a problem of not being able to command paste in a dialog pop-out using apple scripting. The same exact scripting when put into Script Editor will generate a dialog pop-up where I can copy paste via keyboard however when running the same script thought BTT using apple scripting it only copy pastes by right clicking. How can I get it to work with keyboard shortcuts?

BTT offers two different ways to run apple scripts one is "async in background" and one is "blocking". For scripts that show UI you need to use the blocking one as it can not show UI when running in the background.

Is there a way to force the dialog box to the front vs bouncing the btt icon up and down in the dock?

I think if you add this to your script

activate application "BetterTouchTool"

before triggering the dialog box, it should come to front

Imprint | Privacy Policy