Screen captures - can you append app name to the filename

I take a lot of screen captures during the day on several different computers and applications, so was trying to think of ways to help me organize them later on, and thought of this question:


Using the Terminal command "defaults write com.apple.screencapture name name-of-capture" you can prepend the "name-of-capture" string to the filename that gets created when you create a screen capture.


But is there a way to also add the application name that was the origin of the portion of the screen that got captured? In other words, if the area captured were in a Safari window, add the string "Safari", if it were in Finder add the string "Finder", etc. Does that make sense? Of course if the area involved was from multiple applications, not sure what the desired string would be.


Would like it to work will all versions of macOS, or as many as possible. Everything from Mountain Lion to Sonoma would be ideal.


Thanks...


-bob

Posted on Oct 29, 2023 7:30 AM

Reply

Similar questions

2 replies

Oct 29, 2023 11:02 AM in response to ReallyDeepYogurt

ReallyDeepYogurt wrote:

I take a lot of screen captures during the day on several different computers and applications, so was trying to think of ways to help me organize them later on, and thought of this question:

Using the Terminal command "defaults write com.apple.screencapture name name-of-capture" you can prepend the "name-of-capture" string to the filename that gets created when you create a screen capture.

But is there a way to also add the application name that was the origin of the portion of the screen that got captured?
In other words, if the area captured were in a Safari window, add the string "Safari",

Would like it to work will all versions of macOS, or as many as possible.
Everything from Mountain Lion to Sonoma would be ideal.


That is a lot of ideal ;)


I work with a lot of screenshots....and find having them numbered is the easiest way on the Desktop to keep things

separated, organized, recognizable, and if necessary rename if I intend to keep the screenshot.


You can rename any screenshot.




once I have the options set with Shift Command 5 to suit my needs:

Take screenshots or screen recordings on Mac - Apple Support


I use the shortcuts:

Shift Command 3

Shift Command 4

Take a screenshot on your Mac

Take a screenshot on your Mac - Apple Support




ref: Rename files, folders, and disks on Mac - Apple Support



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Screen captures - can you append app name to the filename

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.