Hot answers tagged

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 ...
user avatar
  • 23.2k

Only top scored, non community-wiki answers of a minimum length are eligible