Newbie to InDesign Scripting question
Hi all,
I've done programming for some time. PHP, VB, VBA etc. SOME JS but not extensive. I decided I wanted to try to do some InDesign Scripts for things I do repeatedly. I went to the getting started guide at https://developer.adobe.com/indesign/1688653963277/guides/getting-started/ . Just to try it, I copied the code for the "Hello World" and saved it in my Scripts folder. TaDA it showed up. BUT when I attempt to run it I get this error: 
I've gone down all kinds of rabbit holes doing research but can't figurre out what is happening wrong. It is the var myDocument = app.documents.add(); line that is causing the issue. I attempted to try to figure it out BUT the only thing I've found is the UXP Plugin that Adobe has. Did that replace scripts? All of the links from the scripting page get 404 errors.
Thanks for your help.
