I can run the script directly through Script Editor and it works precisely as intended (except that I have to specify what "theFile" alias points to. I haven't been able to identify any change prior to Hazel failing to launch PDFPenPro to run OCR. In my case I have: Hazel 5.1.2 macOS 12.4 PDFPenPro 12.2.3 The script has been working fine since my update to Monterey back on 12.0 or 12.1. Leave a comment and let us know how it works for you, and if you have a better way let us know as well.Hello, I'm having virtually the same issue and the same script with PDFPenPro. Notes.app’s AppleScript support isn’t the greatest, so scanning to it is a work-in-progress. Now when you scan to your Notes folder, the file should get imported to Notes.app. If you aren’t sure how to create a ScanSnap Profile, check out the ScanSnap Manager help or you may find my Unofficial ScanSnap Setup Guide helpful. However, since I get asked how to use the ScanSnap, you can manually scan to your Notes folder, or you can set up a ScanSnap Manager profile to automatically scan there.Ĭhoose None (Scan To File) on the Application tab and your Notes folder on the Save tab. You can use this Folder Action for any scanner, or use it to manually save files. It should pause a bit and if you go to Notes.app, your new note should be there with its PDF attachment. You should now be good to go! Drag a PDF into your Notes (or whatever you called it) folder. Scan To Apple Notes – Enable Folder Action Test Out The Folder Action Scan To Apple Notes – Choose ScriptĬheck Enable Folder Actions and hit Yes if prompted. If you aren’t automatically prompted, hit the + button on the right side and then choose it. If you are prompted, choose the script that you saved to the Folder Actions Script folder and hit Attach. Anything we scan/save here will be imported to Apple Notes, so you won’t use it for anything else.įirst, right-click on the folder and then second, choose Services and third, choose Folder Actions Setup…. I never would have been able to do this without his work.) Set Up The Folder ActionĬreate a folder if you don’t already have it. (By the way, this script owes a huge debt of gratitude to Larry Salibra for his Evernote to Apple Notes script. Now we just need to attach it to our folder. If you’re not sure how to get there, go to a Finder window, choose Go > Go to Folder… and paste the path in.Īwesome. scpt file to /Library/Scripts/Folder Action Scripts. If copying and pasting doesn’t work for you, you can click here to download the script. In the Save box, navigate to the /Library/Scripts/Folder Action Scripts folder and save it there. Hit the little hammer icon to make sure there aren’t any errors. Next, paste the clipboard contents into the Script Editor window. Hit the New Document button in the window that pops up. On your Mac, go to Applications > Utilities and start Script Editor. Copy this to your clipboard, or download the file below. We are then going to create an AppleScript that automatically creates a note in Notes.app for any file that is saved there. To seamlessly scan to Notes.app, we are going to create a folder on the Mac (in this example I called it “Notes”, but you’ll probably want to be more descriptive). Create AppleScript To Scan To Apple Notes If you want something more automated though, read on. If you want the least complex way, that’s the way to go. Honestly, the easiest way to scan to Notes is to scan to a folder on your Mac and then drag the PDF(s) manually to a note. I did manage to get scanning to Apple Notes working, but it was a bit more complex than I had expected and took some AppleScript tomfoolery. That approach did absolutely nothing, so it was back to the drawing board. I figured all I’d need to do was add Notes.app to the Applications tab of ScanSnap Manager, hit scan, and be good to go. Since its release, I’ve received variations on this question: “How do you scan to Apple Notes (with the ScanSnap or otherwise?)” Apple’s Notes (aka Notes.app) is an application that received a big overhaul in OS X El Capitan.
0 Comments
Leave a Reply. |