Hi, so far I used the following AppleScript to extract the whole text of a PDF:
tell application "Skim" set fileHandler to (InputPath & fileName) as text open fileHandler set theWords to (get text for document 1) as text close document 1 quit end tell This stopped working for some reason unknown to me with the error: „for:document 1“ cannot follow this „text“. Any ideas? Best regards, Tom - Skim 1.6.9 (139), OS 12.2.1 (21D62) _______________________________________________ Skim-app-users mailing list Skim-app-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-users