pyesnosky
March 16th, 2005, 03:30 AM
I am using the custom button with automation to do some batch file processing of my images after they are downloaded. I am also downloading into directory structures based on date.
The scenario is as follows:
Compact flash has images on it with two date ranges, let's say:
Image1 3/14/2005
Image2 3/14/2005
Image3 3/15/2005
Image4 3/15/2005
So after running DL Pro, Image1 and Image2 are in a directory structure with 2005-03-14 as the directory name and Image3 and Image4 are in one with the name of 2005-03-15. So far so good. This works great.
But the next step in the automation is to run the custom button automatically with the %d option. This works in that in my batch file, I can use the batch file to chdir to the %d (which is the 2005-03-14 directory) and run my batch command on the files within. But then DL Pro exits.
(I am using the batch file to run a D70 NEF JPEG extractor program to automatically extract JPEGS from the NEF files. This save me from having to use up flash space by writing out NEFs and JPEGS in the camera. It also saves time writing to flash when taking a picture. The idea is that DL Pro creates a directory called RAW and one called EMBEDDED JPEGS within the 2005-03-14 directory and DLs the RAW files to the RAW directory. Then the batch file goes into the RAW directory and extracts the JPEGS and puts them in the EMBEDDED JPEGS directory.)
I am assuming DL Pro just uses the first directory structure (if there are multiple created during the download process) as the %d and automation only calls the custom button once.
I just want to confirm there is no way to take action on each directory structure created during a DL Pro session if multiple are created due to several dates as in my case??
I suppose I could just use DL Pro to download to a temp directory and then do all my file moving and directory creation in my batch file, but that eliminates much of the elegance of DL Pro.
Would it be possible to add a %d1 %d2 %d3 sort of construct as a feature to DL Pro in the future?
Of course the work around is to only have one date range on each flash but I was wondering if there is any automation possible with multiple directories.
Thanks, Paul
The scenario is as follows:
Compact flash has images on it with two date ranges, let's say:
Image1 3/14/2005
Image2 3/14/2005
Image3 3/15/2005
Image4 3/15/2005
So after running DL Pro, Image1 and Image2 are in a directory structure with 2005-03-14 as the directory name and Image3 and Image4 are in one with the name of 2005-03-15. So far so good. This works great.
But the next step in the automation is to run the custom button automatically with the %d option. This works in that in my batch file, I can use the batch file to chdir to the %d (which is the 2005-03-14 directory) and run my batch command on the files within. But then DL Pro exits.
(I am using the batch file to run a D70 NEF JPEG extractor program to automatically extract JPEGS from the NEF files. This save me from having to use up flash space by writing out NEFs and JPEGS in the camera. It also saves time writing to flash when taking a picture. The idea is that DL Pro creates a directory called RAW and one called EMBEDDED JPEGS within the 2005-03-14 directory and DLs the RAW files to the RAW directory. Then the batch file goes into the RAW directory and extracts the JPEGS and puts them in the EMBEDDED JPEGS directory.)
I am assuming DL Pro just uses the first directory structure (if there are multiple created during the download process) as the %d and automation only calls the custom button once.
I just want to confirm there is no way to take action on each directory structure created during a DL Pro session if multiple are created due to several dates as in my case??
I suppose I could just use DL Pro to download to a temp directory and then do all my file moving and directory creation in my batch file, but that eliminates much of the elegance of DL Pro.
Would it be possible to add a %d1 %d2 %d3 sort of construct as a feature to DL Pro in the future?
Of course the work around is to only have one date range on each flash but I was wondering if there is any automation possible with multiple directories.
Thanks, Paul