OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Automator


Post Reply New Thread Subscribe

 
Thread Tools
BirdieBarty

 
Member Since: Jul 18, 2011
Posts: 5
BirdieBarty is on a distinguished road

BirdieBarty is offline
Hello forum members,
Just joined this great forum. Look guys I am stuck with something.
I have the following issue :

* I have ( let's say) 9000 items with a .jpg extension with the name 0000
Now I want to use "Automator" to copy that single .jpg 9000 times and rename it to 0001 as first, 0002 as second file name, 0003 as third file name etc. until 9000.
This needs to be done automatically in Automator, I just can't figure it out how.

* All the 9000 photo's needs to be sized to 190 * 190
DPI : 72
And the background needs to be filled up with white.

I tried it with Automator but I can't get it worked out. Hopefully anyone has the solution for me.
QUOTE Thanks
TattooedMac

 
TattooedMac's Avatar
 
Member Since: May 19, 2009
Location: Western Astraya
Posts: 6,457
TattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant future
Mac Specs: 13"MBP 2.9Ghz Intel Core i7 10.8.3 ~ iPhone5 6.1.3 ~ iPad Mini 6.1.3 ~ ATV2 5.2.1

TattooedMac is online now
Welcome to the forums.

Take a look at THIS thread and pay particular attention to post #8 by McYukon. I hope this is what you are looking for. If not he might pop in and have a answer.

Cheers


Dont forget to use the Reputation System if someone has helped you out !!!
Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
QUOTE Thanks
BirdieBarty

 
Member Since: Jul 18, 2011
Posts: 5
BirdieBarty is on a distinguished road

BirdieBarty is offline
Thank you tattooedMac, but unfortunately I have tried this.. but it isn't working.. any other solutions ?
QUOTE Thanks
TattooedMac

 
TattooedMac's Avatar
 
Member Since: May 19, 2009
Location: Western Astraya
Posts: 6,457
TattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant futureTattooedMac has a brilliant future
Mac Specs: 13"MBP 2.9Ghz Intel Core i7 10.8.3 ~ iPhone5 6.1.3 ~ iPad Mini 6.1.3 ~ ATV2 5.2.1

TattooedMac is online now
MAte i havnt any suggestions. What McYukon posted in that other thread works so thats the best i can offer as i dont know the correct questions to ask you to nut it down and see why yours isnt workin. lol
Do you get any errors ??
What Mac do you have?
What OS is it running ?
is it up to date ?
What .v Automator is it ?

Just a few specs to add so the next person that pops in has somewhere to start with you
Good luck with it, as its a lot of pictures to do individually

Cheers


Dont forget to use the Reputation System if someone has helped you out !!!
Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
QUOTE Thanks
BirdieBarty

 
Member Since: Jul 18, 2011
Posts: 5
BirdieBarty is on a distinguished road

BirdieBarty is offline
Macbook Pro with the latest updates.

OS : Mac OS X ( 10.6.8 )
Automator ( 1.3)

Let's try to focus on the first issue :
I simply have 1 .jpg file and I want Automator to copy that 9000 times.
During this process it's needs to rename all the file names to 0001 - 0002 - 0003 - etc. so every thing is ordered up.
But I get stuck at the 2nd copy no errors it's just copying and not renaming.
If I rename I get it like : 0001 - 0001 2 - 0001 3 - etc.. so there is somewhere a problem.
QUOTE Thanks
BirdieBarty

 
Member Since: Jul 18, 2011
Posts: 5
BirdieBarty is on a distinguished road

BirdieBarty is offline
Ok I am on the right way but still not working properly.
What I have done in Automator is this :

- Get Specified Finder Items
- Copy Finder Items
- Loop
- Make Finder Items Names Sequential

What I wanted it like file 1 is 001, file 2 is 002 I only could have done that if I put text in front of it. So for example I named it IMG (image) img 001, img 002 etc. So now I need something to keep this script but removing the IMG.
QUOTE Thanks
Slydude

 
Member Since: Nov 15, 2009
Location: North Louisiana, USA
Posts: 3,885
Slydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud of
Mac Specs: 2.8 GHz MacBook Pro 10.8,3 8 GB mem, 2.66 GHz Mac Pro - Dead, iPhone 4

Slydude is offline
Never used it personally but take a look at A Better Finder Rename 8: The Batch File Renamer for Mac OS X

Sylvester Roque Former Contributing Editor About This Particular Macintosh

No matter what time it is where I am it's early morning somewhere in the world. At that hour of the morning follow my advice at your own risk. Anything sounds good before your first cup of coffee
QUOTE Thanks
lifeisabeach

 
lifeisabeach's Avatar
 
Member Since: Sep 30, 2007
Location: Wilmington, NC
Posts: 5,787
lifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond reputelifeisabeach has a reputation beyond repute
Mac Specs: iMac i3 (mid-2010) + OS 10.8; TV 2; iPhone 4S; iPad 1

lifeisabeach is offline
Quote:
Originally Posted by BirdieBarty View Post
Ok I am on the right way but still not working properly.
What I have done in Automator is this :

- Get Specified Finder Items
- Copy Finder Items
- Loop
- Make Finder Items Names Sequential

What I wanted it like file 1 is 001, file 2 is 002 I only could have done that if I put text in front of it. So for example I named it IMG (image) img 001, img 002 etc. So now I need something to keep this script but removing the IMG.
If you do not need to leave the original file unnamed and can save the copies into the folder that the original is in now, here are the steps:
  1. Get Specified Finder Items (add your original file)
  2. Duplicate Finder Items
  3. Loop (Loop auto, stop after 8999 times, Use Original Input)
  4. Get Specified Finder Items (add the folder containing the original file)
  5. Get Folder Contents
  6. Rename Finder Items (Make Sequential)

You will now have 8,999 copies of the same file plus the original. If you want the duplicates saved to a different folder, the process will be much more complex because the "Loop" command cannot be set to go back to a certain step. It's from the top, or nothing. It can be done, but it'll require a bit more experimentation. This could probably be set as a Folder Action. Copy the file to a working folder and this will run automatically. Actually I'll test it while I'm thinking about it…

EDIT: Confirmed. Works GREAT as a folder action. Same steps as above, you just eliminate the first action and set your working folder as the folder the action will receive files/folders when added.


Standing request for all troubleshooting: Please provide your Mac model/year and OS version. Also advise us if you have used or installed any antivirus, security, or "cleaning" software on your Mac. If you have installed MacKeeper in particular, you are hereby advised to uninstall it.
---------
If all else fails to fix your problem, read this tip.

Last edited by lifeisabeach; 07-19-2011 at 10:56 AM.
QUOTE Thanks

Post Reply New Thread Subscribe


« Help Overclocking MacBook Pro | XnView MP beta 0.35 »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Automator acting goofy qoncept OS X - Apps and Games 1 04-19-2013 07:45 AM
Easing (some of) the pain of GPU switching on my mid-2009 Macbook Pro using Automator cwintermeyer Apple Notebooks 3 05-14-2010 01:13 PM
Automator? Not that great? jakenoble Running Windows (or anything else) on your Mac 1 09-21-2007 04:13 AM
Automator Qualm! biggyk33 OS X - Apps and Games 0 06-26-2007 03:12 PM
Automator and Downloads MacGuy18 OS X - Apps and Games 6 12-07-2006 02:19 PM

All times are GMT -4. The time now is 12:20 AM.

Powered by vBulletin
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?