Shortcuts for placing text in brackets
Is there a script to place text in brackets in Indesign? I have a lot of text where some word need to be placed in brackets and would like to just highlight the word and use a shortcut to place it in brackets.
Is there a script to place text in brackets in Indesign? I have a lot of text where some word need to be placed in brackets and would like to just highlight the word and use a shortcut to place it in brackets.
You may also want to consider this. It will avoid having to carefully select the text, and simply place the brackets after the last word of the selection (or even just a flashing text cursor), and before the first word:
s = app.selection[0];
s.words[-1].insertionPoints[-1].contents = "]";
s.words[0].insertionPoints[0].contents = "[";
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.