Thank you for this information. :)

For now, I have used the beep command, instead of speech.  Beep 3, so the 
toggle beeps 3 times each time I turn bluetooth on/off.

I'll tuck this project away though, for future tinkering.

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 8:10 PM, Alex Hall <mehg...@gmail.com> wrote:

> I see what's going on. I think you'd need a way to see the status of the 
> checkbox; if it is checked, click it and say "bluetooth off", else click it 
> and say "bluetooth on". Here's a link to a forum that discusses checking a 
> box only if it is clicked, but the answer will tell you how to see the box's 
> status to see if it is checked or not so you'll know what to say. You could 
> also use it to only check the box if it is not checked, but since you're 
> after a toggle anyway I think either way will work.
> http://stackoverflow.com/questions/9690129/tick-a-checkbox-only-if-its-not-selected
> On Jan 31, 2013, at 10:57 PM, Traci <our4p...@gmail.com> wrote:
> 
>> Yeah, that is the full script.  It toggles the bluetooth.
>> 
>> I'm using it in conjunction with launch bar.
>> 
>> I was wanting to use the system voice, so it would be independent of 
>> voiceover.  I like to find various ways to do things, in case vo crashes.  ;)
>> 
>> Any suggestions on how to further the script?
>> 
>> BTW, the wiFi script made more sense to me.  There was a clear definition in 
>> wiFi on/off.  The system voice works perfectly with that one.
>> 
>> 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 5:08 PM, Alex Hall <mehg...@gmail.com> wrote:
>> 
>>> Is that the full script? I don't see anything about turning it off... Also, 
>>> there's a way to have vo speak text instead of the system voice, so your 
>>> punctuation, speed, voice, and other settings will be used. Let me know if 
>>> you're interested.
>>> On Jan 31, 2013, at 7:03 PM, Traci <our4p...@gmail.com> wrote:
>>> 
>>>> 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.
>>>>  
>>>>  
>>> 
>>> 
>>> 
>>> 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.
>>  
>>  
> 
> 
> 
> 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