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
command-shift-4
select and capture
message box
click on button
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 com.apple.screencapture.plist.
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:"
else
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.