Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Outputting properties in console similar to Script Debugger

Return to Member Forum

  • Author
    Posts
    • #116175
      Ward Baxter
      Member

      I am a very experienced Indesign Applescript developer. My javascript is currently weak, but I used to be quite comfortable 20 years ago. The main reason I use Applescript for Indesign is interactivity between other apps and because of the robust output from ScriptDebugger by Late Night Software. There are, however, many ways in which Javascript is more elegant, and there is some functionality that Applescript simply does not have.

      So far, with Javascript and $.writeln (x), I can fidget around and find a specific result if I know exactly what I’m looking for, but with ScriptDebugger, I could do something as simple as set a variable to a selection and see all of that object references properties at once, including drilling down to the paragraph style, applied GREP, bullets, numbering…anything. All at one time. And, setting multiple variables throughout a script returns that data for EVERY variable, neatly bundled up and easy to navigate. I rely on this data as part of my workflow. I know there must be comparable solutions, but I can’t find elegant ways to quickly return massive amounts of formatted data using other code editors or Extendscript Toolkit. This may be a specific question for someone who has made the transition, but can someone point me in the right direction?

      Thanks in advance.

    • #116177
      David Blatner
      Keymaster

      Hi Ward, a couple of things to consider:
      First, if you can, I’d like to suggest you come to the Creative Developers Summit during CreativePro Week:

      Creative Developers Summit


      There are lots of great resources (in the form of people, mostly!) to draw on. We’re going to be running a one-day session on Thursday which isn’t listed on that page yet, but which would really help you a lot.

      Second, in a couple of weeks we’ll be publishing Peter Kahrel’s new edition of his book “Javascript for InDesign.” That could help quite a bit, too. Look for it on the Shop page here on InDesignSecrets.

      Third, Keith Gilbert has a course on scripting InDesign at Lynda.com or LinkedIn Learning, and he also wrote a little article about it in this issue of InDesign Mag:
      https://creativepro.com/issues/issue-82-new-rules-for-printing

      Finally, here are some articles on our site that might help:
      https://creativepro.com/javascript-for-the-absolute-beginner.php
      and

      JavaScript for InDesign

    • #116204
      Ward Baxter
      Member

      Thanks, David. Unfortunately, I’ll only be at CreativePro on Tues–Wed this year. I have Peter Kahrel’s (c) 2010 version…I’m looking forward to the new printing. I’ve definitely spent some time with the Lynda resource and Keith Gilbert’s article. I will check out the other resources you linked. Thanks again!

    • #116205
      David Blatner
      Keymaster

      Well you’re in luck… I think Peter Kahrel will be at the conference, too! :-)

    • #116466
      Keith Gilbert
      Participant

      @Ward: The new ExtendScript Debugger extension from Adobe for Visual Studio Code has a lot of nice debugging features…much nicer than ExtendScript Toolkit, with is at end-of-life. Track me down at Creative Pro Week while you’re there and I’d be happy to talk more about this with you!

Viewing 4 reply threads
  • You must be logged in to reply to this topic.
Forum Ads