I've never heard of this spark program.  It's just what I was after  
though.  Thanks for the tip, I'll go hunt it down.
On Dec 20, 2005, at 10:41 PM, louie wrote:

> Travis ,
> I found a autormator word flow that lets us run bash scripts from the
> desktop. Then I wrote the time script. I also found a program  
> called spark
> that allows you to assign a key stroke to a application. So when I  
> press F16
> I hear the time of day.
> Louie
> [EMAIL PROTECTED]
>
> ----- Original Message -----
> From: "Travis Siegel" <[EMAIL PROTECTED]>
> To: "Discussions on developing for Mac OS X by the blind"
> <[email protected]>
> Sent: Tuesday, December 20, 2005 6:05 PM
> Subject: say time script
>
>
>
>> 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
>>
>>
>
>
>
> _______________________________________________
> Developer mailing list
> [email protected]
> http://macvisionaries.com/mailman/listinfo/ 
> developer_macvisionaries.com
>


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

Reply via email to