Adobe 26001360 Scripting Guide - Page 272
paste, Notes, Example 100.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 272 highlights
272 AppleScript Reference paste Pastes the clipboard contents into the current layer of the current document. Table 4.140 paste - Parameters Parameters What it is none Objects supported • compound path item • group item • mesh item • path item • path point • placed item • plugin item • raster item • text • text frame Returns nothing Notes Commands that manipulate the clipboard (cut, copy, and paste) require that Illustrator be the frontmost application. Use activate to bring Illustrator to the front before executing the paste command. No error is returned if there is no selection to paste. If the application is not frontmost, an error is returned. Example 100.1 -- Paste the contents of the clipboard into the current document tell application "Illustrator CS" activate paste end tell 12 Aug 03