Or you could create a self contained script with the following:
*set the clipboard to* (*current date*)'s time string & " — " & (*current
date*)'s date string
*tell* *application* "System Events"
*keystroke* "v" using {command down}
*end* *tell*
If you don't use ⌘V to paste, then alter the code above.
On 17 January 2012 22:21, Ben Wikler <[email protected]> wrote:
> Is there a way to use something like this to paste the current date
> (and/or time) into whatever document you're working in? If so, I could use
> this instead of installing TextExpander, which would be great.