Live data from Hacker News

iCloud Terminal Notepad

slashie.org

1–10 of 20 posts

Re: iCloud Terminal Notepad

#4
This is a pretty neat hack! Unfortunately it won't work with my setup of NVAlt [0] (OS X) and Simplenote [1] (iOS). I've got NVAlt hotkey'd so I can bring it up anywhere and use it as a scratch pad all the time that I know will be synced to my phone immediately, the problem being it doesn't use iCloud but rather simplenote's syncing solution, I'd wager to bet that I could do something similar that edits NVAlt's local storage and see if it's auto-synced as well (I bet it is).

Re: iCloud Terminal Notepad

#5

Your link to Ajour at the end of the article is broken. Link should be to: https://github.com/gopatrik/ajour as your link to to your main github page and is missing the " http://" and so it's getting appended on the end of your post URL.

Ah, thank you for that! Should be fixed now!

Re: iCloud Terminal Notepad

#6
post #3

Is this also possible for the regular notes app on iOS/OS X? It does sync with iCloud but I am not able to check if it's available in iCloud Drive.

It could be, there is a directory called com\~apple\~Notes in the Mobile Documents folder that looks promising!

Re: iCloud Terminal Notepad

#9
post #3

Is this also possible for the regular notes app on iOS/OS X? It does sync with iCloud but I am not able to check if it's available in iCloud Drive.

This works :

#!/usr/bin/env osascript -l JavaScript

function run(argv) { var note = Application('Notes').notes['Terminal Note']; note.body = note.body() + new Date() + ' :

'+argv.join(' ')+'
'; }
Post reply on HN