This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- use it as service of automator | |
on run {input, parameters} | |
do shell script "date +%Y-%m-%d\\ %H.%M.%S" | |
set the clipboard to input & " - " & result as text | |
tell application "System Events" | |
the path to the frontmost application | |
the name of the result |