-
-
Save JT5D/4749958 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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