I want to write a service on macOS, and it only return a string, like my email address. So in any application, if I need input email address, I just hit the same shortcut.
I write a service in automator, and run shell script:
#!/usr/bin
echo "my_name@domain.com"
but it only output the text to stdout instead of application input.
Best Answer
You can add a "run applescript" command to your automator workflow
OR
You can add this AppleScript to your Automator workflow to be able to insert the time and date from your clipboard