advertisement
Forums

The Forum is sponsored by 
 

AAPL stock: Click Here

You are currently viewing the Tips and Deals forum
help with Automator script ....again.
Posted by: Fritz
Date: October 10, 2017 06:01PM
I wrote this to remove sub-folders on my music USB stick for the car.
The car software can only access 1500 folders in total.
I have subs for every LP of every one of 300 or so artists, so I've run out.

I would like to be able to d&d a number of folders onto the app at once rather than 1 at a time. Sloooooow.

When I try that now, all the songs of all artists end up in the 1st artist folder.

Can anyone help augment this script?







!#$@@$#!

all I need to know I learnt from Bugs Bunny on Saturday mornings.

The Howlin Souls - [goo.gl]
Options:  Reply • Quote
Re: help with Automator script ....again.
Posted by: Markintosh
Date: October 10, 2017 09:18PM
Ohhhhh...I like that idea. popcorn smiley



“Live your life, love your life, don’t regret…live, learn and move forward positively.” – CR Johnson
Loving life in Lake Tahoe, CA
Options:  Reply • Quote
Re: help with Automator script ....again.
Posted by: mattkime
Date: October 11, 2017 12:04AM
I’m getting lost. Need specific examples showing before and after.



Options:  Reply • Quote
Re: help with Automator script ....again.
Posted by: Fritz
Date: October 11, 2017 07:47AM


all the cuts from all the LP subfolders, move to 1 folder for each individual artist.
right now I can do it with that script, but one artist at a time.

I'd like to d&d 10 artists folders onto the automator app at once and have all songs for one artist go to that artist folder.





!#$@@$#!

all I need to know I learnt from Bugs Bunny on Saturday mornings.

The Howlin Souls - [goo.gl]



Edited 3 time(s). Last edit at 10/11/2017 07:50AM by Fritz.
Options:  Reply • Quote
Re: help with Automator script ....again.
Posted by: Marc Anthony
Date: October 11, 2017 08:18PM
Automator is practically incomprehensible to me, so I'm not the one to advise you on your requested method. AppleScript, however, could easily do the job.

set enclosingFolder to (choose folder)

tell application "Finder"
	set AllFolders to enclosingFolder's folders
	repeat with aFolder in AllFolders
		move aFolder's entire contents's files to aFolder
		delete aFolder's folders
	end repeat
end tell



Le poète doit vivre beaucoup, vivre dans tous les sens. - Verlaine
Options:  Reply • Quote
Re: help with Automator script ....again.
Posted by: Fritz
Date: October 13, 2017 08:24AM
unfortunately, script didn't do anything.



!#$@@$#!

all I need to know I learnt from Bugs Bunny on Saturday mornings.

The Howlin Souls - [goo.gl]
Options:  Reply • Quote
Re: help with Automator script ....again.
Posted by: Marc Anthony
Date: October 13, 2017 05:28PM
Surely the script returned some value in the Script Editor, even if it was an error. Did you run the script on the correct folder? The enclosing folder choice must be the folder that contains all the other music folders—from Alice Coltrane to Be-Bop Deluxe.



Le poète doit vivre beaucoup, vivre dans tous les sens. - Verlaine
Options:  Reply • Quote
Re: help with Automator script ....again.
Posted by: Fritz
Date: October 13, 2017 07:36PM
operator error. works very well on a test of 10 folders and their subs.
Thanks very.



!#$@@$#!

all I need to know I learnt from Bugs Bunny on Saturday mornings.

The Howlin Souls - [goo.gl]
Options:  Reply • Quote
Re: help with Automator script ....again.
Posted by: Fritz
Date: October 23, 2017 12:37PM
Thanks again, Marc. works quite well.



!#$@@$#!

all I need to know I learnt from Bugs Bunny on Saturday mornings.

The Howlin Souls - [goo.gl]
Options:  Reply • Quote
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 131
Record Number of Users: 52 on November 20, 2014
Record Number of Guests: 847 on February 04, 2015