I find a way
if you rite this command in the AppleScript inside the Quick Actions, you can paste 'hello' so you just have to change 'hello'
tell application "System Events"
keystroke "hello"
end tell
But you need to allow the accessibility security for the app you want in system preferences > security& privacy > Privacy.
If the app is not shown in the list you can add it manually by pressing the + button right underneath.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…