Jump to content

Unlink text object from record


Recommended Posts

Try this script. If this is an acceptable workflow, it can be edited to keep the text that was in place prior to the unlink.

 

Procedure UnlinkTTR;

{March 29, 2018}
{© 2018 Patrick Stanford pat@coviana.com}
{Licensed under the GNU Lesser General Public License}

{Edit a Symbol, select any text you want to unlink from }
{a Linked Text to Record and run this script.}
{The text will revert to the original default text but the}
{text location will be the same.}


Var    H1    :Handle;


Procedure Execute(H1:Handle);
Begin
    SetObjectVariableBoolean(H1, 686, True);
End;

Begin
    ForEachObject(Execute,((INSYMBOL & (VSEL=TRUE) & (T=TEXT))));
End;

Run(UnlinkTTR);

Procedure UnlinkTTR;

{March 29, 2018}
{© 2018 Patrick Stanford pat@coviana.com}
{Licensed under the GNU Lesser General Public License}

{Edit a Symbol, select any text you want to unlink from }
{a Linked Text to Record and run this script.}
{The text will revert to the original default text but the}
{text location will be the same.}


Var	H1	:Handle;


Procedure Execute(H1:Handle);
Begin
	SetObjectVariableBoolean(H1, 686, True);
End;

Begin
	ForEachObject(Execute,((INSYMBOL & (VSEL=TRUE) & (T=TEXT))));
End;

Run(UnlinkTTR);

 

  • Like 3
Link to comment
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...