Hello everybody. This is my first post here, I hope I’ll find an answer to my problem.
I’d like to print to PDF the elements I selected in the sheet (or the whole sheet), and open it in “Preview” without saving it (so I can crop and make final adjustments before saving it).
I don’t think it allows to print only the selected items (like windows does) but I’ll be pleased to achieve a simple “Open in preview as PDF” of the whole page, if it is possible.
I already achieved to open the print “pop up” window (by the way, is it a window in applescript language?), what I don’t achieve is to click the proper button (PDF) and then the first menu item which appears.
Here’s where I am stuck right now
activate application "Numbers"
tell application "System Events"
tell process "Numbers"
keystroke "p" using command down
-- click something?
end tell
end tell
a screenshot is not an alternative. I intend to use the files I get (graphs mostly) into LaTeX, and I need them as sharp as only PDF vector stuff can get