Kobe Posted July 28, 2018 Share Posted July 28, 2018 Hi everyone! I would like to ask if there is a possibility that I can use autoit to make a program that will automate the power options? I would like to change the options there using autoit. Any advice? Thanks in advance Link to comment Share on other sites More sharing options...
badcoder123 Posted July 28, 2018 Share Posted July 28, 2018 (edited) I don't have a laptop but... I brought up "Power Buttons" (Control Panel\Hardware and Sound\Power Options\System Settings) and it looks like there is a control for it Bring up the AutoIt info on the button and you should see something similar to the attached file Then look at the Control functions at https://www.autoitscript.com/autoit3/docs/intro/controls.htm Attachment 1. Edited July 28, 2018 by badcoder123 Kobe 1 Link to comment Share on other sites More sharing options...
Kobe Posted July 28, 2018 Author Share Posted July 28, 2018 Thanks! Another question, is there any way that I can get their state? I want to make a condition that (If sleep = sleep then do nothing) Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted July 28, 2018 Share Posted July 28, 2018 @Kobe What about this or this? Kobe 1 Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Kobe Posted July 28, 2018 Author Share Posted July 28, 2018 @FrancescoDiMuro hi! Are those commands applicable in Autoit? Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted July 28, 2018 Share Posted July 28, 2018 (edited) Yes, they are You just have to use Dll* functions to get/set some parameters values Edited July 28, 2018 by FrancescoDiMuro Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Kobe Posted July 28, 2018 Author Share Posted July 28, 2018 I am actually new in AutoIT, can you give me some sample on how to do that? Link to comment Share on other sites More sharing options...
careca Posted July 28, 2018 Share Posted July 28, 2018 Will this help? https://www.autoitscript.com/forum/files/file/435-power-profiles-tool/ Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
Kobe Posted July 28, 2018 Author Share Posted July 28, 2018 No, But thank you sir. What I'm after is the one I posted first. Do nothing, Sleep, Hibernate, Shutdown, Turn Off Display. These are the choices. I wanted to get their properties so that I can make a condition. Link to comment Share on other sites More sharing options...
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