Script problem in Snow Leopard

Last year I had someone help me with a simple script that would grab the date & time & copy it to the Clipboard. I use the script to date & time stamp my emails.

I saved it as an app & has worked fine until I upgraded to SL. Now I get a double date:

Here is the script:

set d to (current date) as text
set the clipboard to d

In Leopard I would get
Monday, October 5, 2009 at 3:20:17 PM

In Snow leopard I get this:
Monday, October 5, 2009 Monday, October 5, 2009 at 3:20:17 PM

Did something get changed in OS X? How can I get only one date?

I only get one. OS 10.6.1

try clearing the clipboard first, although you shouldn’t need to.

set the clipboard to ""
set d to (current date) as text
set the clipboard to d


Operating System: Mac OS X (10.6)

Hi Tom,

I was out of town for a few days & just got back.

I opened up the script; compiled it & then saved it as a app. I still get the double entry:

Monday, October 12, 2009 Monday, October 12, 2009 at 7:41:24 AM

How do I clear the clipboard? Couldn’t find it in Apple help.

The first line in the script I posted clears the clipboard…

set the clipboard to ""

Operating System: Mac OS X (10.6)

Thanks Tom,

Well I am not sure what’s going on. Doesn’t want to work without a double entry.

Hi, Well, you have a conflict – but where¿ :confused:
Have you ever installed any clipboard enhancers?
Maybe you tried one and then deleted it but you didn’t get (delete) all the files - yes - no - maybe¿
I’m just guessing.


Operating System: Mac OS X (10.6)

No I have never added anything like that.

This only started happening after I upgraded to SL about 2 weeks ago.

In fact I have been trying to learn Automator to back up some files & when I create a new folder it creates it twice.

Wonder if i should reinstall SL.

One more guess…
Did you install any third-party Scripting Additions?
If not, I would do a clean install.
You might want to read my post here…

Good luck!!


Operating System: Mac OS X (10.6)

I was afraid of that. No I have never done anything with scripting on my Mac.

Thanks for your help.