InDesign - reference/select items that are pasted inside another text frame
InDesign - reference/select items that are pasted inside another text frame
- Subject: InDesign - reference/select items that are pasted inside another text frame
- From: Bert Groeneveld via AppleScript-Users <email@hidden>
- Date: Mon, 03 Oct 2022 16:49:04 +0200
Hi, I have a multipage InDesign document containing many text frames that have another text frame pasted inside iself. I want to clean that up. I need (help with) a script that references/selects the text frame that is pasted inside (it’s parent text frame), cuts it and pastes in in place and finally remove the parent text frame. Can that be done using an applescript?
See also attached screendump.
tell application "Adobe InDesign 2022" set mySelection to selection -- mutiple text frames selected repeat with i from 1 to count of mySelection tell item i of mySelection -- how do I reference/select the small text frame that is pasted inside item i of mySelection? Cut it and paste it in place and finally remove item i of mySelection (which is the containing text frame) end tell end repeat end tell |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden