Jump to content

distancesprinter

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

distancesprinter's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Haven't tried it yet. I was able to work around the bug manually before the patch was posted here. If possible, please post ArrayDisplayInternals.au3, if it will be needed.
  2. Oh cool--I didn't know where to find Trac. How does one go about getting 3.3.15.1? Even if I check for updates, the latest beta is 3.3.15.0... Thanks!
  3. _ArrayDisplay($aArray, "Window Title", "1:", 0, Default, "Column") ; Expected results are rows 1 to the end of the array, all columns. The result is rows 0-1, all columns. The API reference is here: https://www.autoitscript.com/autoit3/docs/libfunctions/_ArrayDisplay.htm Am I doing something wrong?
  4. Thanks for that suggestion--it's an interesting way to attack the problem, and it would be good if I needed this to run headless. If you're able to share the code, I might be able to adapt it to my requirements. In the meantime, I've been able to operationalize steps 4 through 6 of my strategy above and have it confirmed working. Now I just need help building a GUI to present a normal Windows Browse for Folder GUI, and some help saving a listing of all pdf file paths to an array. I think if I can get a directory listing, I could use a RegEx to match the pdf files, but I'm interested in any code others have for this sort of thing. I can't be the first one who needs to do this. Thanks
  5. I'm familiar with pdfsam and use it in a lot of scripts, but the real challenge is locating the string (which is a series of words and includes punctuation). I got very close using Acrobat JavaScript, but the API for searching will only locate individual words, not phrases in the document, which makes things much more complex. When I went to do it manually, I discovered that I could do the entire operation with keystrokes, so I figured that would be pretty easy to port to AutoIt, but I'd need to loop through a list of file names. And I wanted to create a GUI interface that allows a user to select the directory to make it more user-friendly.
  6. Hi, I'm brand new and I'm about to embark on creating a very simple app to delete specific pages from PDF files. I'm going to list my high-level strategy below, and I'm looking for any recommendations on which methods I should review in the Help File, code snippets, and potential road blocks from more experienced AutoIt developers. High Level Outline & Desired Behavior: Prompt user to select a directory Find all .pdf files in selected directory (not-recursively) and store in an array List all .pdf files in the array and prompt user to confirm (proceed or abort) Only if proceeding, launch Acrobat For each file in the array, run a series of actions: Open the file in Acrobat (Ctrl+O, type file name in dialog box, hit Open, wait for file to open) Search file for a specific string (Ctrl+F to open search box, enter string to search, hit Enter) If its not found, there's a prompt saying the string couldn't be found, identify the prompt, accept prompt, hit keystrokes to save file, close file, proceed to next file, step 5.1. If the prompt does not appear, Acrobat found the string, so use keystroke to delete page and repeat the search operation, step 5.2. After all files in the array are processed, exit Acrobat and prompt user that the operation completed. I'm thinking this should be pretty simple to construct, but now that I've sat down to actually do it, I'm not sure where to start. Thoughts? Thanks!
×
×
  • Create New...