Jump to content

Publius

Level 1
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Publius

  1. This is helpful. Unfortunately, I'm trying to actually use the file name for the creation date rather than the file creation date. Here's what I've done (and that's failing for some unknown reason): set noteyears to {"2014", "2015", "2016"}set notemonths to {"01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"}set notedays to {"01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31"}set notetitle to title of theFileset noteyear to ((characters 1 thru 4 of notetitle) as string)set notemonth to ((characters 6 thru 7 of notetitle) as string)set noteday to ((characters 9 thru 10 of notetitle) as string)tell application "Evernote" activate if (noteyears contains noteyear and notemonths contains notemonth and notedays contains noteday) then set creationDate to current date set year of creationDate to noteyear as integer set month of creationDate to notemonth as integer set day of creationDate to noteday as integer set time of creationDate to 0 create note from file theFile notebook {"Receipts"} tags {"receipts", "expenses"} created date creationDate else create note from file theFile notebook {"Receipts"} tags {"receipts", "expenses"} end ifend tellAny thoughts? Thank you for responding so quickly by the way!
  2. I am trying to create a Hazel script that takes a date from the file Hazel is making an Evernote note from and uses that as the creation date of the note. Can anyone tell me how to do this? I've got a script that can do this after the fact, but I can't seem to get it to work within Hazel. Thanks in advance! Jamie
  3. Hi there, For some reason, Scansnap lost the ability to import items directly into Evernote with the latest Evernote update I made a few weeks ago. Has anyone else had this problem? How do I fix it? (This is Windows, not Mac.) Thanks, Jamie
×
×
  • Create New...