Simpuhl 0 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 Share this post Link to post Share on other sites
AdmiralAlkex 125 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 Share this post Link to post Share on other sites
Simpuhl 0 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 Share this post Link to post Share on other sites
AdmiralAlkex 125 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 Share this post Link to post Share on other sites
Simpuhl 0 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? Share this post Link to post Share on other sites
Simpuhl 0 Posted November 16, 2010 oh crap ur right about control mmsys.cpl,@0,1 also. Ill use that as its much simpler Share this post Link to post Share on other sites