AutoHotkey Community

It is currently May 26th, 2012, 4:16 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: May 10th, 2008, 1:07 pm 
Offline

Joined: May 10th, 2008, 1:00 pm
Posts: 6
I want to be able to turn the speech recognition of Vista on/off with my keyboard. I am at a loss on how to do this.
I thought simply to activate the window and then invoke a right click and the select the appropriate option from the menu. However:
I found that the "window" has ahk_class SpeechUXCtxMenuParkingWnd, but somehow it does not register as a "true window". The window spy shows me that the mousecoordinates are the same in this "window" as they are on the absolute screen. A rightclick is therefore out og the question as I may move the window about.
Does anybody know a solution?

(I hope I made myself clear, I am unsure as to the correct terminology)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 10th, 2008, 1:27 pm 
I have no solution Sorry. :(
BTW, welcome to the forms. You'll get used to them. I'm sure. :wink:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 10th, 2008, 1:36 pm 
Offline

Joined: May 10th, 2008, 1:00 pm
Posts: 6
Thanks for the welcome ;-)

I think I need to do something like:

ControlClick, ahk_class SpeechUXCtxMenuParkingWnd, RIGHT, NA

But then what next? How do I determine the toggle-state of the speech recognition and how do I select the appropriate menu-item?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 10th, 2008, 6:52 pm 
Offline

Joined: May 10th, 2008, 1:00 pm
Posts: 6
I found out that SpeechUXCtxMenuParkingWnd is NOT the speech recognition window but rather the context menu (right-click menu) of speech recognition.
Does anybody know how to invoke this menu through a dll-call?


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: coinman, LazyMan, oldbrother and 13 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group