- Open
Automatorand createQuick Action. - In the middle column, look for
Run AppleScript - On the right, choose
no inputforworkflow receives - input
on run {input, parameters}
set dateString to do shell script "date +'(%m/%d/%y %H:%M %p)'"
tell application "System Events"
keystroke dateString
end tell