For the record, this is exactly why I avoid GUI scripts. A UI redesign I never 
notice suddenly has a script clicking things it was never meant to click. Plus, 
I hate to have things open if I don't have to have them open.

As to speaking, if you already have Talking Dashboard, have a look in the 
Utilities script. There is a speak handler you can copy for use in your own 
scripts, just be sure to include the credit to Apple at the top, and the 
isVoiceOverRunning handler that the speak handler needs.
> On Apr 23, 2015, at 12:03 PM, Traci Duncan <[email protected]> wrote:
> 
> No, I’m still in Mavericks.  Out of curiosity, how do you know the number of 
> the buttons?
> 
> Thanks,
> Traci
> 
> On Apr 23, 2015, at 7:12 AM, Barry Hadder <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>> Hi Traci,
>> 
>> On my system, button 6 of that window is the minimize button.  I would 
>> really like to understand why it seems to be different on your’s.
>> Are you using Yosemite?
>> Thanks.
>> 
>> On Apr 22, 2015, at 11:17 PM, Traci Duncan <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> I ended up putting beep3 after the line:     click button 6 of window 1
>> 
>> It is working like a charm.  I think the only thing I would add to improve 
>> it, is make it similar to my toggle wifi script.  Where Alex actually says, 
>> wifi on/wifi off.
>> 
>> The 3 beeps work for now.  :)
>> 
>> Thanks y’all!
>> 
>> On Apr 22, 2015, at 9:14 AM, Barry Hadder <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>>> I would put the beep 3 right after the click.
>>> If you don’t have a slight delay, then it might not work.
>>> 
>>> Are you trying to toggal bluetooth on and off?  If so, I think there may be 
>>> a problem.  You might want to change button 6 to button 3.
>>> 
>>> On Apr 22, 2015, at 10:22 AM, Traci Duncan <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> Hi all, I’ve needed to update my toggle bluetooth script & thankfully I 
>>> found one on the web.  My question is, in the below script, where would I 
>>> add in a sound effect?  Beep 3, something like that.
>>> tell application "System Preferences"
>>>     reveal pane "com.apple.preferences.Bluetooth"
>>> end tell
>>> tell application "System Events" to tell process "System Preferences"
>>>     click button 6 of window 1
>>> end tell
>>> quit application "System Preferences"
>>> 
>>> Thanks,
>>> 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] 
>>> <mailto:[email protected]>.
>>> To post to this group, send email to [email protected] 
>>> <mailto:[email protected]>.
>>> Visit this group at http://groups.google.com/group/macvisionaries 
>>> <http://groups.google.com/group/macvisionaries>.
>>> For more options, visit https://groups.google.com/d/optout 
>>> <https://groups.google.com/d/optout>.
>>> 
>>> Barry Hadder
>>> [email protected] <mailto:[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] 
>>> <mailto:[email protected]>.
>>> To post to this group, send email to [email protected] 
>>> <mailto:[email protected]>.
>>> Visit this group at http://groups.google.com/group/macvisionaries 
>>> <http://groups.google.com/group/macvisionaries>.
>>> For more options, visit https://groups.google.com/d/optout 
>>> <https://groups.google.com/d/optout>.
>> 
>> 
>> -- 
>> 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] 
>> <mailto:[email protected]>.
>> To post to this group, send email to [email protected] 
>> <mailto:[email protected]>.
>> Visit this group at http://groups.google.com/group/macvisionaries 
>> <http://groups.google.com/group/macvisionaries>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
>> 
>> Barry Hadder
>> [email protected] <mailto:[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] 
>> <mailto:[email protected]>.
>> To post to this group, send email to [email protected] 
>> <mailto:[email protected]>.
>> Visit this group at http://groups.google.com/group/macvisionaries 
>> <http://groups.google.com/group/macvisionaries>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/macvisionaries 
> <http://groups.google.com/group/macvisionaries>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.


--
Have a great day,
Alex Hall
[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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to