FMS Posted August 26, 2009 Posted August 26, 2009 Dear reader, I´ve a problem whit reading chexboxes en hopes someone can help me whit this. The problem is that i don´t know wish ID to take. Iff i run desk.cpl and want to know whish is the master monitor. Iff i know i want to change it to the other >_< I know it is control read function ( i think ) But now whis ID to choose and is it the right function???? can anyone help me whit this? thnx in advanced greez FMS as finishing touch god created the dutch
hot202 Posted August 26, 2009 Posted August 26, 2009 is this what u mean u need? Case $Button If _IsChecked($CheckBox1) Then ;do what eva u want EndIf If _IsChecked($Checkbox2) Then ;do what eva u want EndIf
FMS Posted August 26, 2009 Author Posted August 26, 2009 (edited) i a sort of way yes >_< This is what i have this far.(as u c i m learning at the time ) Maybe a little bit clearer 4 u. The thing is,.... the only thing i need now is to goto the Tab settings and read the checkboxes from which is the main monitor. so iff i dont know which ID i need for reading the checkboxes it´s a little bit hard So if monitor 1 is the main i want to change it to monitor 2 #RequireAdmin Send("#r") ;WinWaitActive("Run") Sleep(10) Send("desk.cpl") Send("{ENTER}") While not WinActive("Display Properties") Sleep(10) WEnd MsgBox(0,"!!!!","End of script") Edited August 26, 2009 by FMS as finishing touch god created the dutch
FMS Posted August 30, 2009 Author Posted August 30, 2009 If ControlCommand ( "title", "text", controlID, "IsChecked") = True Then as finishing touch god created the dutch
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