Sunday, November 29, 2020

#1 2020-11-07 11:27:36 am

tcgass
Member
Registered: 2020-08-21
Posts: 6

Droplet problem: rename & move files

Hi everyone

I'm rather new to automator and tried to setup a droplet, which would ask for a "label" and then add the label variable in front of every image's filename and move these files to a destination folder. I've tried and googled a hundred times but can't find out, why my droplet does not work... Any hint from you experienced guys welcome! Thanks, Tom

https://www.dropbox.com/s/prla10xbvnu95 … 2.png?dl=0

Offline

 

#2 2020-11-21 11:53:24 am

hubert0
Member
From:: East Anglia
Registered: 2020-11-20
Posts: 6

Re: Droplet problem: rename & move files

Hi,

Try it with two variables, one for the file paths and another for the label. Note that in a couple of places you need to set the actions to Ignore input:

Filter Finder Items (as in your screenshot);

Set Value of Variable (defaults to "Storage", I called it "chosenFiles");

Ask for Text (set this action to Ignore input);

Set Value of Variable (called "Label");

Get Value of Variable (set this action to Ignore input, specify chosenFiles);

Rename Finder Items (specify Label followed by a space, add text before name).



Automator workflow with variables


In your screenshot you're not passing the paths of the Finder items to the Rename action: they don't get any further than Ask for Text.

Cheers,

H


MacOS 11.0.1


Filed under: Automator variables

Offline

 

#3 2020-11-22 04:30:03 am

tcgass
Member
Registered: 2020-08-21
Posts: 6

Re: Droplet problem: rename & move files

Hi Hubert

thank you so much for your answer and solution - that works like a charm! :-) I wasn't aware of the fact I did not pass on the path automatically...

Have a great day and thanks again, appreciate it very much!

Thomas

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)