On 8 Sep 2013, at 1:13, Stephen Bannasch wrote:
[…]
I solved this by specifying input from document and and inputFormat as text in the "Hint (without save)" command and then using this in the nodejs code to read the currentDocument: […]
I had a longer response partially written, as there’s a lot of options related to the overall goal here, but I’ll put that in the manual instead and drop a link here (when finished).