Hello folks.  Don't know if this will be helpful to anyone, but it  
sure helps me.  In voice over preferences, you can set the clock to  
talk to you every hour, half hour, or quarter hoour.  I however,  
could find no way to get the clock to show up for me at other times.   
I can get it, but all it says is am or pm.  (I already know that  
part) so I wrote this apple script to do the job.  Compile it, check  
open, then you can put it in the doc for quick access.
Of course, if it isn't useful to anyone that's ok too, I just figured  
I'd post it, since I've not really seen any code posted here yet.
** 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**

_______________________________________________
Developer mailing list
[email protected]
http://macvisionaries.com/mailman/listinfo/developer_macvisionaries.com

Reply via email to