This content has been marked as final.
Show 2 replies
-
1. Re: [JS][CS5] finding instances of a Paragraph style, and doing something to the parentTextFrame
Dave Saunders May 4, 2012 7:29 AM (in response to PrntScr)You need: stories[i].paragraphs[0].parentTextFrames[0].move([3,5)];
or stories[i].textContainers[0].move([3,5]);
Stories don't have a parentTextFrames property, so when JavaScript sees that, it thinks you're creating a new property. I'm not sure why attempting to move it doesn't result in an error, but not getting errors when you think you should is all part of the JS experience.
Dave
-
2. Re: [JS][CS5] finding instances of a Paragraph style, and doing something to the parentTextFrame
PrntScr May 4, 2012 7:32 AM (in response to Dave Saunders)Thanks a lot Dave!
It works. Have a great friday!

