Zohar Posted August 30, 2009 Share Posted August 30, 2009 (edited) HelloLike many people I use Skype and it's a great application.I bought a USB Handset for skype, and it's great for personal calls,But when I call a business, and have to wait while being on-hold, I find it useful to use the Speakers rather than the Handset.To toggle between the Speakers and a Handset, I created a HotKey that does this:1) In the MainMenu, I Select the "Call" Menu,2) Select the "Audio Settings..." MenuItem[The Options window will open now]3) In the "Speakers" ComboBox, Select the other Item4) Close the "Options" windowHere's the Code I use for that:Send("!a") ;Menu: Call Send("d") ;MenuItem Audio Settings... WinWaitActive("Skype™ - Options") Local $ComboBox_Speakers =ControlGetHandle("Skype™ - Options","","[ClassNN:TTntComboBox.UnicodeClass2]") ControlSend("","",$ComboBox_Speakers,"!{Down}{Down}{Enter}") WinClose("Skype™ - Options")It is very useful for me, however, I am looking to Improve the first part of the code:Can I show the Options window, without Sending the Keystrokes that get to the "Audio Settings..." MenuItem?for example, via finding what Windows Message is Sent by this MenuItem,and then Sending it myself?Anyone can help with this?I have Spy++, and can download Winspector if Spy++ is not good enough Thank you Edited August 30, 2009 by Zohar Link to comment Share on other sites More sharing options...
Zohar Posted September 6, 2009 Author Share Posted September 6, 2009 (edited) should I give up on this? :/ If anyone knows how to directly Activate a MenuItem in Skype, please write here... Edited September 6, 2009 by Zohar Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now