applescript – Take different elements of list in Clipboard


I define the clipboard as a list of items,

set clipData to {23, 21, 44, 76}
set the clipboard to clipData

In the Applescript application, I'd now like to past the different elements of the clipboard separately. I'm currently using

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

however, I'd like to only paste individuel elements of the list in the clipboard.

Any idea about how to make this work with Applescript?

Thanks!

Author: Subham

Leave a Reply

Your email address will not be published. Required fields are marked *