swbuehler 1 Posted January 11, 2014 Share Posted January 11, 2014 tell application "Evernote"set note1 to create note title "Test" with text "Test" notebook "Blog"end tell The following error is returned: Expected end of line but found application constant or consideration. Link to comment
Beeber 2 Posted March 3, 2014 Share Posted March 3, 2014 I'm pretty new to applescripting Evernote. I'm trying to manipulate a note I created and opened in a note window. Looking at the code you provided I believe you need to reorder it to: set note1 to create note with text "Test" title "Test" notebook "Blog" I modified my script (which does create a new note) to mimic what you had and I got an error also. The create note must be immediately followed by either [from file "file"], [from url "text"], [with text "text"] or [with html "text"]. After that it doesn't the order of title, notebook, tags, etc. doesn't seem to matter. Hope that helps. Link to comment
Idea
swbuehler 1
tell application "Evernote"
set note1 to create note title "Test" with text "Test" notebook "Blog"
end tell
The following error is returned:
Expected end of line but found application constant or consideration.
Link to comment
1 reply to this idea
Recommended Posts
Archived
This topic is now archived and is closed to further replies.