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 <[email protected]> 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 [email protected].
> To post to this group, send email to [email protected].
> 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)
[email protected]



-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/macvisionaries?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to