Reply To: label script

#52777

Ah, the wonders of error suppression … I thought: if an error occurs, you might want to have the script ignore that one image and continue automatically. Unfortunately, I made a typo and checked the wrong 'type' somewhere — with the result that both of these image types are skipped without giving me an error message to tell me the code did not work!

Change these two lines

    if (pg instanceof InsertionPoint)

      pg = pg.parentTextframes[0];

to this

    if (pg instanceof Character)

      pg = pg.parentTextFrames[0];

to make the script work as planned.

This article was last modified on June 5, 2010

Comments (0)

Loading comments...