Is there a way to simulate clicking Enter in a chatgpt floating menu in Shortcuts?

I'm activating a ChatGPT floating menu from the Shortcuts and pasting text with a prompt. How can I make the next action either be clicking the enter button or simulating the keyboard shortcut command-return? My action sequence is in the Shortcuts app, so I'm looking for a way to do it there. The "find image on screen" shortcut action always crashes BTT.

I think you need to post screenshots or an export of your example. I don't yet understand what you are trying to do :slight_smile:

To just send cmd+enter you can do it like this:


(keycode 36 is enter/return)

Does that work with a floating window displaying ChatGPT ? In other words we use Send keyboard shortcut to Focused App while on a website in a floating menu to, say, press enter onto submit a form?

That worked! Thanks @Andreas_Hegenberg . You legend :slight_smile: