Take screenshot and copy its file path to clipboard
You can assign a shortcut to a script like this:

f=~/Desktop/$(date +%Y%m%d%H%M%S).png
screencapture -i $f
osascript -e 'set the clipboard to POSIX file "'$f'"'


One way to do that is to create a service in Automator:



Then give the service a keyboard shortcut from System Preferences.

If you just want to copy the path as text, replace the last line with printf %s $f | pbcopy.