JMichaelTX
JMichaelTX
> Here's a crude mock-up: > >  @mklement0, I really like your suggestion. IMO, it is essential for all users to be able to quickly see the pedigree of...
> I didn't have much luck with AppleScript, but JXA (JavaScript) definitely worked: @retrography , any ideas on how to get the text contents of the front most document? I...
To provide more info, VSC with Code Runner seems to work fine otherwise using the `currentApplication()` object: ```javascript #!/usr/bin/env osascript -l JavaScript var app = Application.currentApplication(); app.includeStandardAdditions = true; var...
@johnelm , thanks for the quick response. OK that solves my issue. And now I have been able to install your node-jxa, so this works: 
> I think what's happening there is that Application.currentApplication() is returning an Application object when you run it from within vscode (and thus vscode is the active app), even though...
@johnelm > You can get both of these, plus the missing JS language support, by treating your JXA scripts as regular Javascript: Thanks, John. I really appreciate your help. I...