Page 1 of 1

Feature request: Better support for Apple Notes App

PostPosted: Sat Oct 19, 2019 4:13 am
by rhino77
Hi there,

in my opinion, the Apple Notes App is now ready to be a substitute for Evernote. At least for what I do.
Hazel helps me to organize my pdfs.
To do that I need AppleScript.
Now I want to move to Apple Notes. But I do not like to mess around with Apple Script.
It would be nice, if there was a clickable method for Apple Notes:
"Create a new note", "Add pdfs to note" and things like that.

Thank you for your great app!

Cheers
Mike

Re: Feature request: Better support for Apple Notes App

PostPosted: Mon Oct 21, 2019 10:08 am
by Mr_Noodle
What would the note contain?

Re: Feature request: Better support for Apple Notes App

PostPosted: Mon Oct 21, 2019 11:34 pm
by rhino77
Mr_Noodle wrote:What would the note contain?

In my case just the pdf.
For example:
On 10th of October I would get a bill from noodlesoft.
If hazel recognizes it, it should be named „2019-10-17 - noodlesoft bill.pdf“,
creates a Note named „2019-10-17 - noodlesoft bill“ and puts the pdf inside it.

Re: Feature request: Better support for Apple Notes App

PostPosted: Tue Oct 22, 2019 9:30 am
by Mr_Noodle
Will consider it but not really sure how common a case this is. For now, AppleScript is your best bet.

Re: Feature request: Better support for Apple Notes App

PostPosted: Wed Oct 23, 2019 1:30 pm
by rhino77
Thank you anyways. Still a great app!

Re: Feature request: Better support for Apple Notes App

PostPosted: Tue Nov 02, 2021 11:16 pm
by robbier1958
I 2nd this request.

Thanks.

Re: Feature request: Better support for Apple Notes App

PostPosted: Tue Nov 09, 2021 4:08 pm
by kingshill
rhino77 wrote:
Mr_Noodle wrote:What would the note contain?

[...] creates a Note named „2019-10-17 - noodlesoft bill“ and puts the pdf inside it.


I am always interested in different use cases and new insights. For your use case: Can you please briefly describe what you do with this note (or what the workflow looks like)

Re: Feature request: Better support for Apple Notes App

PostPosted: Sat May 07, 2022 1:17 pm
by wifinetguy
Mr_Noodle wrote:Will consider it but not really sure how common a case this is. For now, AppleScript is your best bet.


I know this is a very old thread, but it's a topic that I was looking for. I'm an AppleScript novice. Would someone be able to provide an example of an AS that would import a file (PDF, TXT, etc) into a Notes.app note? Also, putting it into an existing folder would be a great help.

Thanks to all in advance.

Re: Feature request: Better support for Apple Notes App

PostPosted: Tue Aug 30, 2022 4:10 am
by logic2design
wifinetguy wrote:
Mr_Noodle wrote:Will consider it but not really sure how common a case this is. For now, AppleScript is your best bet.


Would someone be able to provide an example of an AS that would import a file (PDF, TXT, etc) into a Notes.app note? Also, putting it into an existing folder would be a great help.


Code: Select all
set theAttach to theFile as text

tell application "Finder" to set |note name| to name of file theAttach

set |note body| to "<body><h1>" & |note name| & "</h1></body>"

tell application "Notes"
   set |new note| to make new note at folder "Hazel Test" with properties {body:|note body|}
   make new attachment at end of attachments of note named |note name| with data (file theAttach)
end tell


Unfortunately there is a bug with Applescript that will add a line the same size as the attachment after the heading. Easy enough to delete.

Hope this helps Iain

Re: Feature request: Better support for Apple Notes App

PostPosted: Sun Oct 16, 2022 11:03 pm
by cjs226
I would also like to kindly request this feature.

kingshill wrote:
rhino77 wrote:
Mr_Noodle wrote:What would the note contain?

[...] creates a Note named „2019-10-17 - noodlesoft bill“ and puts the pdf inside it.


I am always interested in different use cases and new insights. For your use case: Can you please briefly describe what you do with this note (or what the workflow looks like)


I've adopted Apple Notes as my default document store primarily because it provides free, searchable storage that I can easily share with family members using an app that's already on their devices. For example, we have a folder for each child for documents for their car, school, etc., that is shared with them, my wife, and me.

My workflow fantasy would be for Hazel to monitor a folder that is the destination for scans already turned into searchable PDFs by my scanner. Hazel would then rename the document then create a custom-named note in notes.app, in a custom-named folder, with tags if it has a matching rule for the content of the document. If not, Hazel would create a date-stamped note housing the document, in the Inbox.