Alex, thank you for this however, now this is how voiceover reads out the time.
2hours: 22minutes: 32seconds PM, Wednesday, May 8, 2013 Could it be because I'm using Samantha compact as my default voice? Lol, kooky there, I just answered my own question. I switched to Alex and he spoke it correctly. Would it be an easy tweak to omit the seconds from the time? Thanks, Traci On May 8, 2013, at 12:52 PM, Alex Hall <mehg...@gmail.com> wrote: > Try this script, which also uses vo's settings instead of the system voice: > > (* > Speaks the date and time of day > > Copyright 2008 Apple Inc. All rights reserved. > > You may incorporate this Apple sample code into your program(s) without > restriction. This Apple sample code has been provided "AS IS" and the > responsibility for its operation is yours. You are not permitted to > redistribute this Apple sample code as "Apple sample code" after having > made changes. If you're going to redistribute the code, we require > that you make it clear that the code was descended from Apple sample > code, but that you've made changes. > ALEX: No problem, Apple. I've made changes, specifically switching up the > order of the spoken information. > *) > > on isVoiceOverRunning() > set isRunning to false > tell application "System Events" > set isRunning to (name of processes) contains "VoiceOver" > end tell > return isRunning > end isVoiceOverRunning > > on isVoiceOverRunningWithAppleScript() > if isVoiceOverRunning() then > set isRunningWithAppleScript to true > > -- is AppleScript enabled on VoiceOver -- > tell application "VoiceOver" > try > set x to bounds of vo cursor > on error > set isRunningWithAppleScript to false > end try > end tell > return isRunningWithAppleScript > end if > return false > end isVoiceOverRunningWithAppleScript > > set currentDate to current date > set currentTime to (currentDate's time string) & ", " & (currentDate's date > string) > > if isVoiceOverRunningWithAppleScript() then > tell application "VoiceOver" > output currentTime > end tell > else > say currentTime > delay 2 > end if > > There you go, see if that will work... > On May 8, 2013, at 2:28 PM, Traci <our4p...@gmail.com> wrote: > >> Hi all, is there a way to have voiceover reverse the order it announces the >> time? Time before date? The current way sounds odd. >> >> May 8, 11:26 AM >> >> It almost sounds like it is saying May 8th 2011 26 AM. >> >> Any suggestions? >> >> Traci >> >> -- >> You received this message because you are subscribed to the Google Groups >> "MacVisionaries" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to macvisionaries+unsubscr...@googlegroups.com. >> To post to this group, send email to macvisionaries@googlegroups.com. >> Visit this group at http://groups.google.com/group/macvisionaries?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> > > > > Have a great day, > Alex (msg sent from Mac Mini) > mehg...@gmail.com > > > > > -- > You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to macvisionaries+unsubscr...@googlegroups.com. > To post to this group, send email to macvisionaries@googlegroups.com. > Visit this group at http://groups.google.com/group/macvisionaries?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to macvisionaries+unsubscr...@googlegroups.com. To post to this group, send email to macvisionaries@googlegroups.com. Visit this group at http://groups.google.com/group/macvisionaries?hl=en. For more options, visit https://groups.google.com/groups/opt_out.