Re: Automator-users Digest, Vol 100, Issue 3
Re: Automator-users Digest, Vol 100, Issue 3
- Subject: Re: Automator-users Digest, Vol 100, Issue 3
- From: Andrey Nikitin <email@hidden>
- Date: Fri, 04 Jul 2014 22:26:22 +0300
Create 1 workflow to get all the folders in a given folder and
automatically pass those folders, 1 at a time, to a second workflow.
The second workflow creates a contact sheet of all the images in each
folder passed to it (one contact sheet for each folder passed) on the
desktop.
This assumes the parent folder contains only folders and those folders
contain only images!
That last line should read "Assumes the subfolders contain only images!"
The parent folder can contain anything since only folders get passed to
the second workflow.
maybe this help you
my movejpg("/Users/andr/Dropbox/Photo/TL ACC/Sklad",
"/Users/andr\/Dropbox/Photo/TL ACC/Sklad Jpg")
on movejpg(PathFrom, PathTo)
tell application "Finder"
set targetFolders to (PathFrom as POSIX file) as alias
repeat with aFolder in folder targetFolders
tell application "Finder"
try
move (every file of aFolder whose name extension is
in {"jpg"}) to folder (PathTo as POSIX file)
end try
end tell
end repeat
end tell
end movejpg
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden