I work with pdfs on a daily basis that contain the text OCA/<12 character text>. I'm hoping to obtain Acrobat Javascript code that will copy the 12 character text that follows OCA/ and "Save As" the found 12 character text + the word "MISC" (i.e. X--XXXXXXXXX MISC). I should mention the 12 characters always include the two hyphens in space 2 and 3 from the left (not sure if that matters) and OCA/ is never in the same area of the page however will always be found on the first page. I've learned from other forums that this possibly involves using the getPageNthWord method and folder level javascript files stored in the Acrobat JavaScript folder. Your script is highly appreciated. Thank you in advance. A visual is linked here: Example of text to be found / copied / save as
Using Javascript in Acrobat what code would allow me to "Save as" found text?
62 Views Asked by dpoag At
0
There are 0 best solutions below
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in AUTOMATION
- Applescript To Select Sound Output stops at opening Sound Preferences Screen
- I am automating web scraping using python
- Autofill data from previous cell to next cell in openpyxl
- In spotfire, IronPython script: No Module named Selenium
- Python selenium automation browser
- Specflow defination not showing references
- Expect: Any way to match a specific rule only once?
- Automate the update of a pivot table in Excel via Power Automate Web
- Encountering a problem to interact with a weird button which is a combobox (select)
- Unable to Login through Automation(Cypress) to app, while the credentails are true. It allows manual login but unable to login through Cypress
- Selecting an option in the mobile app drop down which is not visible when the app is loaded for the first time
- Unable to launch WebDriverAgent
- How do I automate a video download with Selenium and Python (Meta Quest Store Trailer Download)
- Error: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure
- Trouble uploading with playwright
Related Questions in DOM-EVENTS
- How to listen for LightDOM Label "FOR=" events via ShadowDOM Custom Element
- Removing the beforeunload event does not work in React
- event handling for overlapping polygons in google maps
- EventListener is not being added to button elements
- Why is the blur event listener fired twice for the same element with contenteditable in this case?
- Popover API: Event bubbling not working on beforetoggle event?
- An HTML Link Element ("a") Refuses to Attach Itself to Event Listener
- "contextmenu" Event interrupts "onmousemove" from executing a function
- handling the cancel of window.onbeforeunload prompt
- How to appendchild() using drag drop with 2 hierarchically equal divs? using Typescript
- ResizeObserver callback is not being fired when rotated device two times
- How to append an element to a specific div - Vanilla JS?
- How to make every subsequent sibling after a button-wrapper disappear and restore their visibility again by pressing this very button?
- brush overlaps events on other elements
- Rotating chevron in accordion in javascript
Related Questions in ACROBAT
- Can I make this kind of radio button?
- Acrobat 2020 editing the Header or Footer in a PDF Document
- How can I print to adobe acrobat printer (pdf) in Delphi silently
- Pdfium library : Get the comments on page
- Acrobat reader: "remove from recent" not shown for a signed document
- Blue box appearing instead of digital signature and signature panel contains unsigned signatures
- Acrobat Run profiles with variables(JavaScript)
- Javascript issues with this.importTextData()
- PowerShell script - Sign pdf with Certificate
- PAdES-B-LT Signature Validation Error with Entrust and Apryse (PDFTron) - "No Certificate Chain Found"
- React pdf downloading corrupted pdfs
- Minimal PDF file according to PDF-2.0 spec results in corrupted document structure
- copy password protected pdf to excel via vba
- Trying to open a manually created PDF in CorelDRAW but failing
- Create a signature field within adobe with javascript and have it execute once signed without the properties dialog box
Related Questions in ACROBAT-SDK
- How can I create bookmarks with a JS script in Adobe Acrobat?
- How can I edit an Acrobat pdf with JavaScript?
- Getting error 403 Forbidden when trying to post to Adobe /transientDocuments REST API
- VBA; Open PDF in existing PDF window (as a new tab)
- Adobe Acrobat Pro Submit a pdf to a user generated email?
- Extracting whole Sentences from PDFs (as best as possible) - Plain Text From PDF without inserting line breaks
- C# : Replace while loop with ForEach (Acrobat SDK)
- How to allow CORS in production in ASP.NET Core Web API
- Creating new PDF using IAC
- PDDoc.Save Adobe Acrobat method not working in Excel VBA
- PDF to Word using Acrobat SDK
- How can one use a JavaScript library in an Acrobat JavaScript script?
- How can one embed or call some Python code in an Acrobat JavaScript script?
- toggle visibility of a layer (the state property) in Acrobat not working
- Using Javascript in Acrobat what code would allow me to "Save as" found text?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?