Creating new folders inside chosen folder

Hi,

I’ve been experimenting with the automator, but I don’t seem to be able to create a workflow that does the following:

The user selects a series of folders (inside these folders there are only images).
With each of the selected folders, the following happens:
Inside the folder there are three new folders created: small, medium and large.
The images in the folder are copied to the folders small, medium and large.
The images in the folder are resized to 10px.
The images in the subfolder small are resized to 112px.
The images in the subfolder medium are resized to 640px.
The images in the subfolder large are resized to 1024px.

Resizing the images didn’t prove very difficult. My attempts at creating three folders inside the selected folder and copying the images to those folders and then selecting them to be resized have proven unsuccessful.

In order to do this you’ll need to set up a few variables (4 New Path type, 1 New Storage)

The Variables I set up to kick this around are Home Folder, Small, Medium, Large and Files.

[Ask for Finder Items]
{Type: Folders}

[Set Value of Variable]
{Variable: Home Folder}

[Get Folder Contents]
{Repeat for each subfolder found}

[Set Value of Variable]
{Variable: Files}

------------Action–>Ignore Input-----------------

[New Folder]
{Name: Small}
{Where: Home Folder}

[Set Value of Variable]
{Variable: Small}

------------Action–>Ignore Input-----------------

[New Folder]
{Name: Medium}
{Where: Home Folder}

[Set Value of Variable]
{Variable: Medium}

------------Action–>Ignore Input-----------------

[New Folder]
{Name: Large}
{Where: Home Folder}

[Set Value of Variable]
{Variable: Large}

------------Action–>Ignore Input-----------------

Get Value of Variable
{Variable: Files}

Copy Finder Items
{To: Small}

Copy Finder Items
{To: Medium}

Copy Finder Items
{To: Large}

Hope this helps.