anom_admin Posted July 17, 2015 Share Posted July 17, 2015 Hello everyone,I'm trying to create a script that will check and uncheck certain checkbox in the action center.I am able to check and uncheck all the boxes correctly under ''Security messages'', however under ''Maintenance messages''. I am unable to uncheck the box Drive Status, File history, Device Software, Storage Space, Startup apps and Work Folders.I'm using the AutoIt Window Info tool to get my button class ID, it says that Drive Status is Button14 and the others are Button15, Buttont16,etc.Executing my script only uncheck the box from Buttont1 to Button13, then the rest isn't working.;Security messagesControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:1]", "UnCheck", "")ControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:2]", "UnCheck", "")ControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:3]", "UnCheck", "")ControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:4]", "UnCheck", "")ControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:5]", "UnCheck", "")ControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:6]", "UnCheck", "")ControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:7]", "UnCheck", "")ControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:8]", "UnCheck", "");Maintenance messagesControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:11]", "UnCheck", "")ControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:12]", "UnCheck", "")ControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:13]", "UnCheck", "")ControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:14]", "UnCheck", "")ControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:15]", "UnCheck", "")ControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:16]", "UnCheck", "")ControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:17]", "UnCheck", "")ControlCommand("Action Center", "Change Action Center settings", "[CLASS:Button; INSTANCE:19]", "UnCheck", "")Windows : 8.1Thank you, 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