Jump to content

Recommended Posts

Posted

Hi,

I have searched the forums but unable to find an answer to this problem.

We have a number of laptops which seem to have the monitor standby time set to 20 mins default. I have a script which can change the values in powercfg.cpl, can someone please show me how I can open control panel and then launch power options by using autoIT ?

Any help is appreciated,

windoz.

Posted

ShellExecute("Control.exe", @SystemDir & "\powercfg.cpl")

Hi,

Trying to run control panel under 'normal user' rights is limited. I am running the control panel as administrator, and then trying to run power options through that...everything is working apart from trying to use Autoit to find the power options within control panel and executing it....

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
  • Recently Browsing   0 members

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