KaFu Posted August 7, 2015 Share Posted August 7, 2015 HiHo Board,I've received some complains, that SSD does not work properly on Windows 10. As I've not installed it yet I'm looking for some help to see what has changed.Does running this code still open the Sound control panel? First run should open Playback tab, second run the Recording tab.$iPID = Run("rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,0", @ScriptDir, @SW_HIDE) Sleep(2000) ProcessClose($iPID) $iPID = Run("rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,1", @ScriptDir, @SW_HIDE) Sleep(2000) ProcessClose($iPID)Additionally could someone please analyse the resulting window with AU3Info?- What's the Window class? On Win7 it's "#32770".- Is the listview still of the class "SysListView32"?- Is the "Set Default" button still of the class "Button" with Instance = 2?- Is the "Properties" button still of the class "Button" with Instance = 3?- Is the "Ok" button still of the class "Button" with Instance = 4?Any help is much appreciated :)...RegardsKaFu OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 7, 2015 Moderators Share Posted August 7, 2015 Hi, Kafu. Yes the script opens the desired tabs for me on WIN10 Pro. The AU3Info still looks all the same:window class is still #32770Still SysListView32Set Default is still Button 2Properties is still Button 3Ok is still Button 4 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Danyfirex Posted August 7, 2015 Share Posted August 7, 2015 As JLogan3o13 says It still work.Look This alternative.;~ Sound Global Const $MicrosoftSound="Microsoft.Sound" Global Const $GUID_MicrosoftSound="{F2DDFC82-8F12-4CDD-B7DC-D4FE1425AA4D}" ;~ Supported OS: Windows 7, Windows 8, Windows 8.1 Global Const $sCLSID_OpenControlPanel = "{06622D85-6856-4460-8DE1-A81921B41C4B}" Global Const $sIID_IOpenControlPanel = "{D11AD862-66DE-4DF4-BF6C-1F5621996AF1}" Global Const $sTagIOpenControlPanel= "Open hresult(wstr;wstr;ptr);GetPath hresult(wstr;wstr;uint);GetCurrentView hresult(int*)" Local $oOpenControlPanel = ObjCreateInterface($sCLSID_OpenControlPanel, $sIID_IOpenControlPanel, $sTagIOpenControlPanel) ;~ open Playback tab $oOpenControlPanel.Open($MicrosoftSound,"",Null) ;~ open Recording tab $oOpenControlPanel.Open($MicrosoftSound,"1",Null) $oOpenControlPanel=0;Free Saludos Jon 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
KaFu Posted August 7, 2015 Author Share Posted August 7, 2015 (edited) Thanks for the info :). Most strange, maybe I've changed something in the meantime and just can't remember it. Would someone with Windows 10 give the latest Beta a testrun?https://funk.eu/wp-content/plugins/download-monitor/download.php?id=217 Edited August 18, 2015 by KaFu OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted August 7, 2015 Moderators Share Posted August 7, 2015 It seems to be working for me, it opens Playback, then when I click the Switch to button it opens the Recording tab. Anything specific you want me to check? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
KaFu Posted August 7, 2015 Author Share Posted August 7, 2015 Would be great if you could test that the shortcuts work. "Create simple" Shortcut and "Create shortcut to toggle", the shortcuts are created in the programs location directory. Using the shortcuts the switch should be performed without a GUI. Same systematic goes for recording. OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Chimaera Posted August 7, 2015 Share Posted August 7, 2015 I do it this way which works fine on 10Run('control.exe mmsys.cpl,,0') Run('control.exe mmsys.cpl,,1') If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
Danyfirex Posted August 7, 2015 Share Posted August 7, 2015 I test Create simple and work correctly. Create shortcut to toggle with recording devices does Not. I have three device but I always select the last. Saludos KaFu 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
KaFu Posted August 7, 2015 Author Share Posted August 7, 2015 Damn, that needs to be fixed, back to the drawing-board :), I guess I have to get a third recording device from somewhere, thanks for testing! OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Danyfirex Posted August 7, 2015 Share Posted August 7, 2015 An alternative to select default device could be written using OjectCreateInterface starting with IMMDeviceEnumerator::EnumAudioEndpoints... Minimum supported OS: Windows Vista. Saludos KaFu 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
KaFu Posted August 8, 2015 Author Share Posted August 8, 2015 Thanks for the hint with the MMDevice COM interface. I've gather all those bits and pieces already, but implementing would require a full rewrite... I save that for v2 as long as the panel automation works fine :)... OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
KaFu Posted August 9, 2015 Author Share Posted August 9, 2015 Oh well, seems like there are constellations where I can not derive the current states from the buttons alone. I guess I'll release this version with the remark that I know that in some cases toggle won't work and start with v2 based on the MMDevice COM interface straight away, thanks for testing guys ! OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
KaFu Posted August 11, 2015 Author Share Posted August 11, 2015 (edited) I had to learn the hard way, that either the button itself is never enabled on a secondary desktop, or that ControlCommand($hWnd_Sound, "", "Button2", "IsEnabled", "") just does not work on a secondary desktop. Anyhow, I fell back to using an .ini file in the program directory to record the toggle states."Should" now work fine on Win10, if someone with Windows 10 would give the latest Beta a testrun?https://funk.eu/wp-content/plugins/download-monitor/download.php?id=217Best Regards Edited August 18, 2015 by KaFu OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
Danyfirex Posted August 11, 2015 Share Posted August 11, 2015 @KaFu work correctly (Toggle option was tested just with recording devices, because I have just one Playback device) Saludos KaFu 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
KaFu Posted August 11, 2015 Author Share Posted August 11, 2015 Thanks for testing, much appreciated ! OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
zaubermaus Posted August 24, 2015 Share Posted August 24, 2015 Hi KaFu,I'm using your SSD for some years now and I was happy to find a Windows 10 version here in this forum. Now I got an update on my Windows 10 and your script is not working anymore.Do you update the version on your hp, too? There is still your 1.3...Thank you so much for your work Link to comment Share on other sites More sharing options...
KaFu Posted August 24, 2015 Author Share Posted August 24, 2015 (edited) You might want to try the latest v1.4 Beta (just updated some 5 minutes ago), and let me know any bugs ...https://funk.eu/wp-content/plugins/download-monitor/download.php?id=217 Edited August 24, 2015 by KaFu zaubermaus 1 OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
zaubermaus Posted August 29, 2015 Share Posted August 29, 2015 Hi Karsten,thanks a lot, it works again as it should - tut, was es soll Enjoy the great weather today,Grüße aus Niedersachsen Link to comment Share on other sites More sharing options...
KaFu Posted September 2, 2015 Author Share Posted September 2, 2015 (edited) Just updated the Beta again (quite some changes this time, among others I change to v2 ). So, for those few interested, give it a try and let me know of any bugs (esp. on Win10), otherwise I'll upload the final v2 including source soon ...http://funk.eu/wp-content/plugins/download-monitor/download.php?id=217 Edited September 2, 2015 by KaFu zaubermaus 1 OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
zaubermaus Posted September 5, 2015 Share Posted September 5, 2015 On my Windows 10 it works fine Thanks a lot 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