Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Can't get text paths if there are groups

$
0
0

          tellmyDocument

                    setmyPitemsto (everytext pathofeverypage itemofeverypage) whosecontents = ""

                    repeatwithPiteminmyPitems

  display dialog "got it"

                              deletePitem's parent

            endrepeat

          endtell


This is a working script - as long as there is nothing grouped in the document. (Took a while to figure out why it was throwing an error!) None of the text paths I need are grouped, incidentally.

 

I am deleting all objects that have "text on a path" set up but no text on them.

 

What am I doing wrong? Do I need to ungroup everything first? Is there an easy way to temporarily ungroup everything?

 

Thank you!


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>