Ok, here it is. I added the part of speaking bluetooth on. The toggle works 
perfectly, I'd just like the voice to say on/off.

I have a similar script for wiFi, and I got that one to say on/off.

tell application "System Preferences"
        reveal pane id "com.apple.preferences.Bluetooth"
        -- activate -- optional, just if you want to display the window
        tell application "System Events" to tell process "System Preferences"
                click checkbox "On" of window 1
                say "bluetooth on"
        end tell
        quit
end tell

Thanks,
Traci
1 step, 2 step, ... 1,311 steps! I can do the BIG CLIMB 2013, with your 
support. Our efforts  will help make a big difference in the fight against 
blood cancers. Please give to the Leukemia & Lymphoma Society. Learn more & 
donate here. Thank you.
  http://www.llswa.org/site/TR/Events/BigClimb?px=1570735&pg=personal&fr_id=1250

On Jan 31, 2013, at 3:26 PM, Alex Hall <mehg...@gmail.com> wrote:

> I'd love to see the script, go ahead and paste it. It won't do anything to 
> any mac unless the user copies it and compiles it, so go ahead and toss it in 
> your reply and we'll see what we can make of it.
> On Jan 31, 2013, at 5:28 PM, Traci <our4p...@gmail.com> wrote:
> 
>> Hi all,
>> 
>> I found a toggle bluetooth script online, and I'm trying to expand it so the 
>> mac voice will say the status as I toggle bluetooth on/off.
>> 
>> I have it saying bluetooth on, but I can't get it the other way around.
>> 
>> For future replies, can I paste the script in a message to you guys?
>> 
>> Thanks,
>> Traci
>> 1 step, 2 step, ... 1,311 steps! I can do the BIG CLIMB 2013, with your 
>> support. Our efforts  will help make a big difference in the fight against 
>> blood cancers. Please give to the Leukemia & Lymphoma Society. Learn more & 
>> donate here. Thank you.
>>   
>> http://www.llswa.org/site/TR/Events/BigClimb?px=1570735&pg=personal&fr_id=1250
>> 
>> 
>> -- 
>> 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.


Reply via email to