Jump to content

dyb_dzo

Level 1
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About dyb_dzo

  1. I wanted to append html with applescript with some inline css: <div style=\"text-align:center;\"> <hr style=\"float:left;margin-left:auto;margin-right:auto;width:40%;\"> TEXT <hr style=\"float:right;margin-left:auto;margin-right:auto;width:40%;\"> </div> My note looks like this though: <div style="text-align:center;"> <hr style="float:left;"/> TEXT <hr style="float:right;"/> </div> Are some of these tags not allowed?
  2. Your solution looks quite robust! It's probably too much for my needs but i see where it could be usefull. Thank you! It also opened my eyes for what i was doing wrong. Before your post i found out how to search for notes but that didn't work as well. My bit of code: _ set foundNote to get every note of notebook "DAILY" where its title is searchForThisTitle if foundNote is {} then –– create new note and do stuff with it else set myNote to item 1 of foundNote –– do stuff to the existing note _ I missed the part "item 1 of" – instead of picking an item from the foundNote i was just referencing to the found set. My question was derived from "if note named thisTitle exists then" but it seems like i should utilize the search function from the beginning.
  3. I want to check if a note with a given name already exists: tell application "Evernote" if note named thisTitle exists then tell note named thisTitle to append html "<strong>exists</strong>" else set note1 to create note title thisTitle with text thisContent as string notebook "DAILY" assign tag "PDF" to note1 end if end tell But it gives me error: Evernote got an error: Can’t get note "[thisTitle]" How do i check if a note exists?
  4. I wanted to create my own note template with HTML. I started to fiddle with a content.enml file i found in the database. Seems pretty straightforward html + css so i started editing the file but after saving there are no changes at all. I found that on the other hand, changes in note.xhtml are reflected in the note but then they are not transfered to the content.enml file. Should i create a template using note.xhtml and then use it somehow as a template? This article doesn't seem to mention what to do – https://dev.evernote.com/doc/articles/enml.php
×
×
  • Create New...