Hi there. I am stuck. :) I put the script it, and I ran it and compiled it and sved it in Applications. I opened it and it ran in the script editor. I thyen tried to add it to the dock but all I saw was the script editor. How do I fix this? I didn't add anything to the dock, because I wans't sure what to add or how.

Jane


On Jan 1, 2006, at 8:19 PM, Travis Siegel wrote:

No, there is nothing directly. However, I have an apple script I wrote to give me the time. It of course be modified to give date as well. The script is below, save it as saytime.scpt, then click on it in the finder to get it to load using the script editor. Compile it, and put it anywhere you like. If you click the button to leave it open as well, then the second time you click on it, it will run much faster. Especially if you put it in your doc.
** cut here**
set thedate to current date
set thetime to time string of thedate
if length of thetime = 10 then
    set time1 to items 1 through 4 of thetime as string
    set ampm to items 9 through 10 of thetime as string
else
    set time1 to items 1 through 5 of thetime as string
    set ampm to items 10 through 11 of thetime as string
end if
set saytime to time1 & ampm as string
say saytime

** cut here**
Hope this helps.



Reply via email to