Skip to content

Instantly share code, notes, and snippets.

@JT5D
Forked from brettkelly/gist:4617314
Created February 10, 2013 15:39
Show Gist options
  • Save JT5D/4749958 to your computer and use it in GitHub Desktop.
Save JT5D/4749958 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