How to save screenshot to clipboard mac
You may need to adjust the following line of code for it to be as in your region: set theDateTimeNow to (do shell script "date \"+%Y-%m-%d at %l.%M.%S %p\"") The file naming convention is that of the macOS default for Screen Shots saved normally, in my region.
Save the Automator Service 1 as, e.g.: Screen Shot to Clipboard and File.With the example AppleScript code shown further below: Add a Run AppleScript action, replacing the default code.Service receives (no input) in (any application).In Automator, create a new Service 1 with the following settings: I'd use Automator to create a Service 1 workflow, to which a keyboard shortcut could be assigned, to run an AppleScript script to have these two events happen in conjunction with each other.
The following is an example of what I'd do, if I needed both, to place a screen shot on the clipboard and save it as a file at the same time.