How Do I: Programmically open a control panel and click the OK but

G

Guest

Hello,
Thank you in advance for the help.
I know how to open a control panel, i.e. Display Properties.
control desk.cpl,@0,0
But after it is open, how can I programmically "click" the OK button?

Im running a remote control program that when it closes, the desktop is not
the original desktop. If I open the display property box and click OK, the
desktop is back to normal. So I am looking at how to do this.
Any ideas?
 
P

Pennywise

To Old To . . . said:
Hello,
Thank you in advance for the help.
I know how to open a control panel, i.e. Display Properties.
control desk.cpl,@0,0
But after it is open, how can I programmically "click" the OK button?

Im running a remote control program that when it closes, the desktop is not
the original desktop. If I open the display property box and click OK, the
desktop is back to normal. So I am looking at how to do this.
Any ideas?

Assuming your using some sort of Macro Key program
http://www.google.com/search?hl=en&q=macro+keys&btnG=Google+Search

You can put in TAB(s) (tab key) to get to OK, then enter.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top