Applescript to "paste" the clipboard

I am working on Applescript to paste what was last copied into any current field. It should be used with VoiceOver and the key code method (only as I know) does not work all the time.

    tell application "System Events" to key code 9 using command down

    say "paste"
+4
source share
1 answer

I use the keys:

tell application "System Events" to keystroke "v" using command down

I don't know about the error you should get, so you have to share.

+7
source

All Articles