move image after screen capture to specific folder


here is the script I am working on - but actually have no real clue where to start

I am using quiet often the “Command-Shift-4” for part screen capturing - after doing
this - after selecting the part and capturing it - I would like a little Message box with
3 or … buttons - like typ1, type2, typ3,…

after pressing one button it should copy the captured image to a folder

step by step

  1. command-shift-4
  2. select and capture
  3. message box
  4. click on button
  5. move the captured image to folder - typ1 to typ1-folder

is this possible

I am doing lots of research stuff and it would help a lot



define a new folder location for the screenshots by editing
Then add a folder action to that folder using this script

on adding folder items to this_folder after receiving these_items
	repeat with oneItem in these_items
		set fileName to name of (info for oneItem)
		set {button returned:buttonReturned} to display dialog "move " & fileName & " to:" buttons {"type1", "type2", "type3"}
		tell application "Finder"
			if buttonReturned is "type1" then
				move oneItem to folder "path:to:folder1:"
			else if buttonReturned is "type2" then
				move oneItem to folder "path:to:folder2:"
				move oneItem to folder "path:to:folder3:"
			end if
		end tell
	end repeat
end adding folder items to

Note: the display dialog window has max. 3 buttons.

wow super fast - thanks
I will try it

“amazed be the speed of this reply”