Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have a very long workflow dealing with renaming, resizing and duplicating a large number of high resolution images. The workflow was working fine until I tried it with 300 images. Automator got through about 15 actions and then just spins on a particular action. I can see it gets about half way through this action (looking at the images it is supposed to be resizing, number 180 and before are resized, but nothing after).

  • Automator is still responsive - I am able to stop the task while with the stop button.

  • Reducing the number of files (say to 170) solves the problem. I have not tried anything higher than this.

  • Automator stops on the same action every time (resize to 480 pixels)

  • The workflow description:

    • The original size of the images are 3920 × 3072.
    • There are about 30 actions.
    • The output is about 5 different sizes of the images and two PDFs (made up of the images).

Has anyone else experienced problems? I would be happy with just a work around, because using Automator just saves so much time.

More Information

This is the offending action: enter image description here

Detailed Description of the workflow:

  1. Copy 300 images at 3920 × 3072 pixels (base images)
  2. Rename the images
  3. Copy and Scale the 300 images to 50% of the base image size
  4. Rename the images
  5. Copy and Scale the 300 images another 50% (now 25% of the base images)
  6. Rename the images
  7. Copy and Scale the 300 images to 480 pixels (this is the step that Automator gets stuck on)
  8. The script goes on the copy and scale the images again, create two 300-page pdfs and then rename all of the images one more time.

Testing Notes

  1. When just copying and scaling the 300 images by 480 (three actions), the operation still does not complete...
  2. The workflow does not get stuck on the same image every time. I tried three times and the image number was:

    • 176
    • 182
    • 183

Current Workaround

I currently am splitting the input of the action into three with a filter and running the action three times of each of these groups and then combining the groups again. Using the filter does not work on my network drive (not indexed by Spotlight apparently). It is also a large number of extra steps. Would still be interested to hear any solutions or better work arounds - especially since this work around requires a large number of extra steps...

share|improve this question
1  
Does it always stop at the same picture file? If yes what happens if you move this file to somewhere else and try again? And can you add a screenshot of your action (or a link to a screenshot)? –  patrix Aug 10 '12 at 5:22
    
Some good questions @patrix. I have updated the question with the extra information. Thanx. –  lindon fox Aug 10 '12 at 8:32
    
I found a discussion on the Apple "Forum" that suggests this might be a Lion issue (discussions.apple.com/thread/3952618?start=0&tstart=0) –  lindon fox Aug 29 '12 at 3:09
1  
@lindonfox Good to know, this rules out issues that sometimes arise with CMYK. Regarding better workarounds, would you also consider using something else than Automator? Just asking, because I was recently doing stuff with imagemagick and netpbm... –  myhd Aug 31 '12 at 11:16
1  
@lindonfox We can discuss it in this chat! –  myhd Aug 31 '12 at 15:58
show 3 more comments

1 Answer

I resolved this by getting the Finder Automator Action pack from Ben Waldie. Check it out here:

http://www.automatedworkflows.com

I use the following automator action successfully:

enter image description here

You should get it, as this works for me.

Phil

share|improve this answer
    
Thanks! I will have a look at it. Can I confirm that this is the one you are talking about? I can not find Dispense Items Incrementally on the description... –  lindon fox Mar 1 '13 at 2:54
    
Yes this is the one! Good luck! –  Philippe Dube Mar 1 '13 at 3:49
    
Sorry I was wrong!!!! It is here: automator.us/leopard/downloads –  Philippe Dube Mar 1 '13 at 3:54
    
Did you check it out? –  Philippe Dube Mar 5 '13 at 1:00
    
Not yet, I have a few things to do first. But thanks for the correction to your link. Note, I will mark this answer as correct if it works ;) –  lindon fox Mar 5 '13 at 3:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.