Newbie: How to move files to another folder ?

Hi,

I’m trying to create a workflow to move selected files to a folder.

In a perfect world, it would be accessible from the right-clic (Automator menu). Then it should open an invitation box “Select destination folder:”, and then move the selected files into the selected folder.

The only action I find to move things is the one where you can only choose Desktop, and other folders. (Sorry, my automator is not in english). But I would be able to choose a destination folder with an invitation like it does with the action “ask items from finder”.

Thanks a lot for your help !

Hi,

first choose the action Get selected Finder items (in your language equivalent) then Run AppleScript from Automator library
and copy this into the text field

on run {input, parameters}
	set theFolder to choose folder with prompt "Select destination folder" without invisibles
	tell application "Finder" to move input to theFolder
	return input
end run

Thanks - a - lot !!! It works perfectly !

Bye, and cheers from Fribourg, Switzerland.