Sorry, me again !
Thank you very much for all the help I've been given so far.
My custom search is working and well received with my colleagues.
One practical query that has been raised is whether I can set the text input box so that if the user types in his search word(s)and then presses the RETURN / ENTER key the dialog will execute the search without the need to select the SEARCH button placed lower down in the dialog form. This scenario occurs where the user doesn't want to change the other search settings and would mimic how the built in search dialogs work.
So, is it possible for me to detect the use of the RETURN / ENTER key either from within the text input box element or just across the whole dialog and on detection execute the search function.
All help/advice would be very much appreciated.
Kind Regards,
Nifty
Norfolk, England.
Using Acrobat 8.2.6 Pro with Windows XP Pro.
Try it out.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script