1
vote
Fetch data from Preview.app to Terminal
The following AppleScript will get the filepaths for all open documents in Preview:
tell application "Preview"
set pathList to path of documents
return pathList
end tell
You can use ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
pdf × 1070preview × 403
macos × 265
ipad × 113
printing × 89
software-recommendation × 74
automator × 70
safari × 65
ios × 62
books × 62
applescript × 58
ms-office × 45
finder × 38
mac × 34
adobe × 34
terminal × 33
font × 29
file-conversion × 28
pages × 27
iphone × 20
applications × 19
graphics × 18
command-line × 17
automation × 17
macbook-pro × 16