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

Code Tastic!

Return to Member Forum

  • Author
    Posts
    • #56183
      Duncan Comics
      Participant

      Greetings.

      So here's the deal. I've got a bunch of indesign files that i want to automate what i do to them everymonth so it's just a simple process. I know a bit of code, and i can usually hack and slash my way through javascript. It's not pretty but it works. The problem i'm running into is that i don't know the names of the functions.

      Here is my question.

      Is there a comprehensive list around anywhere that has all the “terms” or “functions” that you can do in indesign. I've got the language down but im missing all the verbs. Does anybody have a dictionary?

      OR

      Has somebody in the past made an actions (similar to photoshop) script that will record what i do and spit out the code?

      Any help with this would be awesome… or pointers to a website or resource that lists all the possible “verbs” or function names for all the things you can do in indesign/

      Thanks in advance!

      comic sans sucks.

      baha

      -Duncan.

      ALSO https://www.duncancomics.ca for a giggle or two.

    • #56186

      Are you using Adobe's ESTK Editor for your coding? Or do you avoid it like the plague, being more used to a normal code editor? (I do. :-) My Windows editor of choice is TextPad, on the Mac it's TextWrangler.)

      All available Help is built-in in the ESTK* Editor itself, and can be found in the Help menu -> Object Model Viewer. Then you get a fancy sliding-cards window and you can browse through the libraries under the “Browser' pop-down list. Be careful to select the correct InDesign version! For some reason, Adobe made a little mistake in the InDesign lib names (of all things!). You'll probably see stuff like “InDesign CS4 (3.0) Model” — but the “CS4” is wrong, and those are the classes for InDesign 3.0 — the original CS! Just pick the bottom one to be sure …

      So– if you don't use the ESTK Editor then you cannot use the built-in Help! No problem.

      I disliked the entire Help system so much I made my own implementation of the help files; first, in easy-on-the-eye HTML pages, then combined into a single indexed and super-hyperlinked Windows CHM file. That's not even a problem if you have a Mac, because there are a couple of good CHM viewers for OSX. I usually recommend Robin Lu's iCHM, almost on a par with the real Microsoft thing, but looking much nicer. My version of the help files can be downloaded from … my web page! (There are files for lots of versions of InDesign — make sure you select the correct one.)

      (Coming this far, I may as well point out that my version of the same data sports other improvements than just the looks. It displays an easy-to-understand graphical hierarchy for most common object relations, has way more hyperlinks, and lists in what other functions each class, property, and method are used.)

      * It's actually not even built-in. It's very smart: when starting the ESTK for the first time, it scans the application folders of Bridge, Illustrator, InDesign, and Photoshop for all plugins that support scripting. It then interrogates what the names are from all classes, properties, and methods, and descriptions of each (which the plugin write should provide). All of this is cached, so it starts up way faster the next time; but if you install a new InDesign plugin that can be scripted, it'll notice and rebuild the Help file with the latest additions. Quite an achievement, really. Such a shame Adobe decided to use a weird Hypercard inspired interface.

    • #56188
      Duncan Comics
      Participant

      WOW!

      F'n eh! Thanks so much Jongware I'll take a look at estk and your website.

Viewing 2 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads