How to Automatically Open the Find Box at Startup in Adobe Acrobat
Question details
The user wants to configure Adobe Acrobat so that the 'Find' search box opens automatically every time a PDF document is launched.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Opening a PDF document and wanting immediate access to the search functionality without manually triggering the tool.
- Observed behavior
- By default, the user must manually click to open the Find box or use a keyboard shortcut after the PDF has finished loading.
Ensure you have administrative privileges on your computer, as you will need to create and place a custom script file directly inside the application's installation folder.
Create a Folder-Level JavaScript File
Use a simple JavaScript command placed in the Acrobat application's JavaScripts folder to automatically trigger the Find menu item upon opening a document.
This method requires placing a custom .js file into Adobe Acrobat's application-level directory. Note that the Find box will only appear when Acrobat is launched by opening an actual PDF file. If the application is opened without a document, there is nothing to search, and the command will be ignored.
Open a plain text editor such as Notepad on Windows or TextEdit on Mac.
Type or paste the following line of code exactly: app.execMenuItem("Find");
Save the file with a .js extension, for example, AutoFind.js. Make sure the editor does not accidentally append a .txt extension to the file name.
Navigate to your Adobe Acrobat application folder and find the 'JavaScripts' folder. On Windows, this is typically located at C:\Program Files\Adobe\Acrobat DC\Acrobat\JavaScripts (the exact path may vary based on your Acrobat version).
Move your newly created AutoFind.js file into the JavaScripts folder. Double-click any PDF file to launch Acrobat; the Find box should now appear automatically.

Looking for a Simpler PDF Reader? Try WPS Office
If configuring application-level scripts in Adobe Acrobat is too complex, consider switching to WPS Office. It provides a highly intuitive, lightweight PDF reader and editor that makes finding text lightning fast without requiring custom scripts.
- 1. Open a PDF Document: Launch WPS Office and open your desired PDF file.
- 2. Access the Search Tool: Press 'Ctrl + F' on Windows or 'Cmd + F' on Mac to instantly open the Find bar.
- 3. Search Your Keywords: Type the word or phrase you are looking for, and WPS Office will quickly highlight all matches in the document.

Frequently Asked Questions
Why doesn't the Find box open when I launch Acrobat from the desktop shortcut?
The JavaScript command to open the Find box requires an active document to function. When you open the application from a shortcut without simultaneously opening a PDF, there is no text available to search, so the Find command cannot execute.
Where exactly is the JavaScripts folder located on Windows?
The folder location varies depending on your system architecture and Acrobat version. For Acrobat DC, it is typically located at 'C:\Program Files\Adobe\Acrobat DC\Acrobat\JavaScripts'. For older 32-bit installations, it might be found inside the 'Program Files (x86)' directory.
Can I use this script to automatically open the Advanced Search panel instead?
Yes. You can modify the script to trigger the Advanced Search panel by changing the menu item string. Use 'app.execMenuItem("Search");' instead of 'Find' in your .js file.
Will this JavaScript method work in the free Adobe Acrobat Reader?
Yes, folder-level JavaScripts generally work in both Adobe Acrobat Pro and the free Acrobat Reader, provided the script file is placed in the correct Reader JavaScripts directory.




