Nah, as long as you have it saved already, (using the regular save
command in the script editor) you need only reload it, then do the
save as to get it to prompt for the type. Since they're different
extensions, you can put them in the same directory. No worries.
On Jan 3, 2006, at 9:28 PM, Jane Jordan wrote:
Uh ... does this mean I have to save the script all over again?
Then delete the old one? Sorry if I seem dense, but I think that's
the only place where the script is stored now <sheepish look>.
Jane
On Jan 3, 2006, at 8:23 PM, Travis Siegel wrote:
You have to compile it to be able to put it in the doc.
To get it to compile, you need to do a save as from the file
menu. This will prompt you for the format to save it as. If you
select application, it will put it in an app file, then you can
select it, and put it in your doc.
Hope this helps.
On Jan 3, 2006, at 5:37 PM, Jane Jordan wrote:
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.