Batch processing files

[I have adjusted your topic title to better represent your question]

You can use the For Each action with the Folder Contents collection to scan through a specific folder. Or you can work the the selected files in the Finder, see:

Either way that will let you iterate through the files. You then have to figure out the "open, convert to PDF, close" sequence, which will vary depending on the application. I'd consider something like:

  • Ensure there are no other files open
  • Open the file in iThoughts
  • Pause Until the Front Window title is appropriate.
  • Export to PDF - this will vary from application to application. It might involve printing to a PDF which is discussed elsewhere on the forum.
  • Close - Command-W or Select menu File ➤ Close.