CC Help: Post Processing Commands

This is one of the most powerful, but difficult, capabilities of the script. Put simply it allows you to run any automated process you wish on each image that is downloaded.

The command you specify will be executed after each image is downloaded, and be passed the full path to the downloaded image as the first param.

Beware that if you don’t wait for the process to finish you risk have two copies of that process running at the same time if two shots are taken quickly, more rapidly than the process can finish. What happens then depends on the process in question, some may work, others may not. It will need testing to see if it is safe to set it to not wait.

I will shortly be putting some practical examples here but for the moment consider:

  • A simple copy command to copy the file to a backup device
  • A Photoshop “Droplet” that resizes, watermarks, sharpens and then prints
  • A batch file that emails images using blat
  • Automatically post each image to flickr using something like this tool
  • Have a tweet go out with each image you take using this tool
  • Use the XP Built in picture viewer to view jpgs full screen by creating a .cmd file with this line
rundll32.exe c:\windows\system32\shimgvw.dll,ImageView_Fullscreen %~s1

Lots of potential for pointless geekiness here, but I also see practical value when you are doing a studio shoot and have the customer on the phone and want them to see images you take immediately without you having to stop and explicitly upload stuff.

More thoughts on this later.

17 Replies to “CC Help: Post Processing Commands”


  1. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Donald says:

    5.0 did not work on windows xp
    5.1 DID wotk on windows xp
    using a nikon D90
    Boy this is fun
    Thanks


  2. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    howard says:

    works with xp and d5000


  3. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Rod McGee says:

    Hello. I was interested in the showing of images using the built in XP image viewer as well as the photoshop droplet to resize and copy images.

    How do you create the .cmd file with the command line above and where do you place it?


  4. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    pixtiva says:

    I’m not really sure how this works – If you could feed it a batch file that would take the image, copy the raw file to your BACKUP hard drive, and also to a lightroom “open folder,” things could be kind of cool… Anyone with an idiot-friendly way of doing two different things?


  5. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Cy says:

    @pixtiva: you already have these tools. simply configure LR to watch the folder you have CC and configure LR’s “import from watch folder” pre-set to backup the file. If you want to keep the CC save / LR watch folder clean at all times, configure the LR watched folder import pre-set to Move files instead of Copy files.


  6. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Cy says:

    Very useful post-process feature: A script to immediately post an image to a pre-defined Facebook album. Inspired last month while attending a party which had hired a photo booth guy. He was constantly pushing images to the party’s Facebook page at the request of the hostess.

    I’d happily scratch this together but a) I do not code and b) I’m all out of round tuits to look into the Facebook API (which probably wouldn’ make any sense to me due to condition a) above.)

    Also, would it make sense to gather up the user-created batch/script/post-process tools and keep a running list of them here? Just a thought.


  7. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Darren says:

    Could you use this command to send the RAW file to ViewNX or Lightroom? If so any ideas what the command line would be?


  8. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Dennis says:

    What a great program.
    I have created a PS Droplet called ipview.exe
    Could anyone give me the ‘Post Processing Command’ to execute the droplet after each image has been captured. The droplet resises the image to 72dpi and places it in a viewing folder.
    I have placed the Droplet in C:\windows\system32

    Any help would be appreciated.
    Cheers Dennis


  9. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    KLF says:

    OK, I give up. I’m at the end of my patience, I’ve tried everything I can think of.

    Setup:
    Camera Control 5.2
    Dell laptop, Windows 7 32-bit
    Nikon D200 camera

    Can control shutter and D/L photos fine. I need to shoot a bunch (100+) of photos all in portrait mode, but I guess the D200 isn’t properly flipping them, as they show up sideways in all my applications. I’d rather not manuall rotate them each time to preview, so I want to run a little script to rotate each image as it is capture. The question is: how do I pass the name of the file to the rotate script? I’ve tried %1, %%1, all sorts of permutations, nothing works. The one example on this page is no help.

    Thanks!


  10. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    mike says:

    I have a d90 and i need to rotate the images


  11. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Shutter Bug19 says:

    I shoot in portrait mode, how to get them to rotate so they are viewed in portrait mode


  12. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Will says:

    I have the same query as Dennis, does any one have an update on this?


  13. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Bob says:

    If you bring up ViewNX2 then you can have it looking at the same folder as the camera capture download directory and it will properly rotate the pictures.


  14. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Terry says:

    Just found this and loaded 5.1, seems to work ok on my D80


  15. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Lowell Christie says:

    Nikon D80 works well with 5.1 on WinXP (except for battery status). To view raw you can set up ViewNX to watch the destination folder. Nice program. Thanks.


  16. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    JhonCB says:

    Could you write an example of command line to use one of my Photoshop droplets?


  17. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    Phuz says:

    how to use Post Processing Commands using photoshop? please give a step by step procedure.


Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /home/diyphoto/public_html/wp-includes/functions.php on line 6031

Leave a Reply

Your email address will not be published. Required fields are marked *