Simpuhl Posted November 16, 2010 Share Posted November 16, 2010 Basically I am opening Windows Sound Manager Run("control mmsys.cpl") But then I am trying to get it to click the Recording tab, but I cannot figure out how. Anybody have an idea? Id really appreciate it Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted November 16, 2010 Share Posted November 16, 2010 control mmsys.cpl,@0,1 Would open the recording tab on Windows 7, so you probably have a different OS. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Simpuhl Posted November 16, 2010 Author Share Posted November 16, 2010 Nm I figured it out... I am using: #include <GuiTab.au3> Dim $ConfigWindowTitle = "Sound" Run("control mmsys.cpl") WinWaitActive($ConfigWindowTitle) $hWnd_Tab = ControlGetHandle("Sound", "", "SysTabControl321") _GUICtrlTab_SwitchNext($hWnd_Tab) Func _GUICtrlTab_SwitchNext($hWnd) Local $iItems_Count = _GUICtrlTab_GetItemCount($hWnd) Local $iCurrent_TabIndex = _GUICtrlTab_GetCurSel($hWnd) Local $iNext_TabIndex = $iCurrent_TabIndex Switch $iCurrent_TabIndex Case 0 To $iItems_Count-2 $iNext_TabIndex += 1 Case Else $iNext_TabIndex = 0 EndSwitch _GUICtrlTab_SetCurSel($hWnd, $iNext_TabIndex) EndFunc Link to comment Share on other sites More sharing options...
Simpuhl Posted November 16, 2010 Author Share Posted November 16, 2010 Windows 7 64bit Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted November 16, 2010 Share Posted November 16, 2010 EDIT: I just realized that this topic should be in General Help, not Example Scripts.Heh, I didn't even look at that, came from "Recent Topics Added"... I have sent a report.@SimpuhlGet new glasses, you must be blind.This is not a general support forum! .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Simpuhl Posted November 16, 2010 Author Share Posted November 16, 2010 oops I am sorry, this was my first post and I was just so into what I was doing I didnt pay attention Can an admin plz move it? Link to comment Share on other sites More sharing options...
Simpuhl Posted November 16, 2010 Author Share Posted November 16, 2010 oh crap ur right about control mmsys.cpl,@0,1 also. Ill use that as its much simpler 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