I’m trying to make a script that creates a new PDF document after I have copied some pages from an other PDF (like menu command New – With Clipboard).
This line creates a PDF document in specified group, but the content says ‘No File’. How do I set the data to clipboard?
set new_pdf to (create record with {type:PDF document, name:the_name, data:clipboard} in item 1 of targetgroup)