Sign in to follow this  
Followers 0
RogerRabbitsClone

opening PDF files in a folder

3 posts in this topic

#1 ·  Posted (edited)

firstly, let me describe the secinaro:

folder on my desktop called "print"

inside is 5-20 folders, each with a different name and date like this: "Greg 063011" (Greg june 30 2011)

in each of those folders is an indesign file named "BC Template.indd" and "BC Card.pdf"

i want to open those PDFs one at a time, ask me for a quantity, (msgbox) then proceed to print and move to the next.

i already wrote the "print, wait for quantity, mark the settings, close the PDF, prompt for another" part of the script.

how would i go about doing something like:

get a list of the folders in "print"

put into $array

open $array value #1

do what i wrote

(edit)

wait, i think i just answered my own question. But i still have one, is there a function or command that does "get a list of folders in print"?

(end edit)

Edited by RogerRabbitsClone

<--a good way to start you day

Share this post


Link to post
Share on other sites



Melba23's file/folder list to array function is the best I have seen. Check out the example scripts for usage.


#include <ByteMe.au3>

Share this post


Link to post
Share on other sites

you are a god among men. thank you. and melba too.


<--a good way to start you day

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0