How break with script to anchored object release
There are many linked objects within a text frame
I am selecting the text frame. I want to release the linked objects
There are many linked objects within a text frame
I am selecting the text frame. I want to release the linked objects
var a = app.selection[0].allPageItems, t;
while( t = a.pop() )
{
t.isValid &&
t.hasOwnProperty('anchoredObjectSettings') &&
(t.parent instanceof Character) &&
(t=t.anchoredObjectSettings).isValid &&
t.releaseAnchoredObject();
}
Jongware Method:
n = app.selection[0].textFrames.length;
while (n >= 0)
{
try {
app.selection[0].textFrames
.anchoredObjectSettings.releaseAnchoredObject(); } catch(_) {}
n--;
}
Vandy
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.