Automator move file(s) to specified folder

Create a service, which takes a file or folder in Finder and send it to this applescript:

on run {input, parameters}
	(* move file(s) to new destination *)
	set destinasjon to (choose folder with prompt "Velg mappen du vil flytte fil(ene) til")
	repeat with fil in input
		tell application "Finder"
			move fil to destinasjon
		end tell
	end repeat
end run

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>