You can't insert a text field into the application toolbar with a script.
Maybe with a plugin, but you'll need to ask at the Acrobat SDK forum for a
Have you looked at a button activating a 'response' method to gather the text data needed by the button?
The principal problem that I have got is insert the text field in the toolbar. I have inserted the button but I need to insert the text field too.
Have you looked at using the 'app.response()' method to get the text input?
The Response Box: Part 2 of 5 on Popup Windows by Thom Parker.
If you add the code to use the 'app.response()' method to your tool bar button you will have the entered text within you button script. You then can use it as you need to.
Yes I can use a app.response method but I would like to have a text field in the toolbar without make a click in a button and a popup window is shown to get the info.
I would like to do it like the Find text field in the toolbar.
It's impossible to do that with a script.
Only buttons can appear on the tool bar. If you want a button and text field to appear in a floating window, look at using the 'dialog' object to pop up a window and provide your text box, check boxes, combo boxes, buttons and other fields.
Thanks for your anwers.
app.Response and dialog are alternatives.