Skip to content

Instantly share code, notes, and snippets.

@brettkelly
Created January 24, 2013 03:04
Show Gist options
  • Save brettkelly/4617314 to your computer and use it in GitHub Desktop.
Save brettkelly/4617314 to your computer and use it in GitHub Desktop.
tell application "Evernote"
set myNote to create note with text "hello world"
set noteLink to null
synchronize
repeat 10 times
if (note link of myNote as text) is equal to missing value then
log "still syncing"
else
set noteLink to (note link of myNote as text)
log noteLink
exit repeat
end if
end repeat
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment