Can we script the Find/Replace dialog, and not use aTextFrame.contents = ...?
Hi,
I know typically to do find/replace operations on text in AI scripting, we iterate through a doc's textframes and find/replace contents. However, I am dealing with a document whose text frames are not actually TextFrames, but PluginItems. I'm not sure how these frames were generated (doc came from client's client). Essentially, I'd be OK if I could somehow record an action of F/R and export it out, and replace the Replace contents with dynamic content. Is that feasible? As far as I can tell, the PluginItem has no contents property that I can change.
Alternatively, does anyone know how I can achieve the same outcome in the attached doc, which uses the plugin frame. Essentially, it functions like a curved area text, but stays at its defined bounds regardless of how many characters are input. TIA. Edit: Forum is not letting me post AI file, but I can send DB link privately. Attaching screenshots. Frame object is very small, but curved text goes well outside those bounds, but stays within those outerbounds regardless of how many characters are input. Looks like maybe it was created by a plugin called Envelope, as the item sits inside another item called Envelope.



