Jump to content

Reading checkboxes


FMS
 Share

Recommended Posts

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

Link to comment
Share on other sites

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 :D

#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 by FMS

as finishing touch god created the dutch

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...