Sure, just replace

tell application "System Events" to keystroke (thedate as text)

with

set the clipboard to (thedate as text)
tell application "System Events" to keystroke "v" using command down

I prefer the keystroke method to using the clipboard for the simple
reason that the former doesn't replace the clipboard contents, which
might contain something that I still want there.

On Jun 14, 8:17 am, pendolino <[email protected]> wrote:
> thanks jon but what i like about the 'services' for entering dates is
> that they use a paste action rather than a 'keystroke' (type) action.
> is there a way this can be replicated using the scripts?

Reply via email to