Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.8: New Notes App Service' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.8: New Notes App Service
Authored by: Sesquipedalian on Apr 13, '13 12:00:30AM
Much better than the original, since you avoid GUI scripting!

However, rather than hard-coding the account to use into the script, it would be better to set the script to always use whatever account the user has set as their default account. So, replace the line that says

tell account "iCloud"

with one that says

tell account id (do shell script "defaults read -app Notes DefaultAccount")

[ Reply to This | # ]