Removing a text box (drawing markups) through javascript
Dear Adobe experts,
I am currently using Adobe Acrobat XI Pro and am trying to find a way to remove text boxes (from the drawing markups menu, shortcut is 'x') through a javascript action. I know the right code for it but I am trouble finding the text boxes (console gives me variable is null error). In text box properties, general tab, I have used the author and also tried the subject to find it in my code but to no avail. Here is my code:
var textBox = this.getField("Text Box");
//textBox.value = "TESTING";
textBox.hidden = true;
Any help would be appreciated,
Kind regards
