Hello to MacRumors & AppleScript Gurus
Firstly, I just started Automation this week with Automator but I've ran into a wall.. x.x I'm hoping I can resolve this by means of AppleScripting.
Below is an image of what I'm trying to do. It works great, unless there's no files matching. At this point, it denies going any further because theres nothing to 'Move'.
What I actually want to do is (in steps):
1. Get specified finder items >
2. Get folder contents >
3. Filter Finder Items by extension w/no folders selected >
4. Move Finder Items to specified folder >
5. If there is no Finder Items found to move skip >
6. Repeat from step 1 to filter other extensions into appropriate folders unless there are no more steps or files then stop.
Now I'm thinking if I could replace Step 4 (Move Finder Items) with an Applescript that would do this. Then insert Step 5. Eliminating the break in chain, so it can continue on to the next extension and do the same Steps 1-5.
Then for the last move of the last group, an end if there are no files to move and no next step.
If this has to be done all in Applescript from Step 1-6 I'm SOL (hoping not since I'm posting here).
Thank you all very much for your attention and help. I apologize if this has been discussed before but I've been researching for a couple of days now and born unto Applescript as of yesterday I see it as a logical process but I have no idea where to begin or how to write Applescript. I'm a new Mac user since Feb, Automator since about 3 days ago and complete noob to Applescript. Any help is appreciated.
Firstly, I just started Automation this week with Automator but I've ran into a wall.. x.x I'm hoping I can resolve this by means of AppleScripting.
Below is an image of what I'm trying to do. It works great, unless there's no files matching. At this point, it denies going any further because theres nothing to 'Move'.
What I actually want to do is (in steps):
1. Get specified finder items >
2. Get folder contents >
3. Filter Finder Items by extension w/no folders selected >
4. Move Finder Items to specified folder >
5. If there is no Finder Items found to move skip >
6. Repeat from step 1 to filter other extensions into appropriate folders unless there are no more steps or files then stop.
Now I'm thinking if I could replace Step 4 (Move Finder Items) with an Applescript that would do this. Then insert Step 5. Eliminating the break in chain, so it can continue on to the next extension and do the same Steps 1-5.
Then for the last move of the last group, an end if there are no files to move and no next step.
If this has to be done all in Applescript from Step 1-6 I'm SOL (hoping not since I'm posting here).
Thank you all very much for your attention and help. I apologize if this has been discussed before but I've been researching for a couple of days now and born unto Applescript as of yesterday I see it as a logical process but I have no idea where to begin or how to write Applescript. I'm a new Mac user since Feb, Automator since about 3 days ago and complete noob to Applescript. Any help is appreciated.