chiners_68 Posted October 2, 2006 Share Posted October 2, 2006 Ive search everywhere for a reg key to control this but no one has one. If there is somone here that has has a key to control this please share. otherwise. how can I write an autoit script to check if this box is ticked or not? if it is then ticked to remove the tick & apply. cheers Link to comment Share on other sites More sharing options...
webjocky Posted October 2, 2006 Share Posted October 2, 2006 (edited) You'll want to use the group policy editor for that. Start/Run then type 'gpedit.msc' Find "User Configuration/Administrative Templates/Start Menu and Taskbar" Then on the right pane look for "Prevent changes to Taskbar and Start Menu Settings" Hope that helps Edit: I'm an idiot ignore me sometimes Edited October 2, 2006 by webjocky The tiniest of things can ruin your day, or brighten your afternoon. Read it once, read it again, and pay attention. Then search the forums. If all else fails, ask somebody else. Link to comment Share on other sites More sharing options...
chiners_68 Posted October 2, 2006 Author Share Posted October 2, 2006 I dont want to prevent changes to that option I want to be able to de select this box on an installation. Link to comment Share on other sites More sharing options...
chiners_68 Posted October 3, 2006 Author Share Posted October 3, 2006 anyone have an idea..? Link to comment Share on other sites More sharing options...
chiners_68 Posted October 3, 2006 Author Share Posted October 3, 2006 Ive have wrote a script to tick or untick this taskbar on top box. How do I now use this to determine if its ticked or not & to then untick if it is currently ticked..?send("{LWIN}")send("{APPSKEY}")send("r")winwait("Taskbar and Start Menu Properties", "Select this menu style for easy access to the Internet, e-mail, and your favorite programs.")send("+{TAB}")send("{LEFT}")controlclick("Taskbar and Start Menu Properties", "Keep the &taskbar on top of other windows", 1101)controlclick("Taskbar and Start Menu Properties", "OK", 1) Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 3, 2006 Moderators Share Posted October 3, 2006 ControlCommand() Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
chiners_68 Posted October 3, 2006 Author Share Posted October 3, 2006 SmOke_N, cheershere is my script which works a treat.send("{LWIN}")send("{APPSKEY}")send("r")winwait("Taskbar and Start Menu Properties", "Select this menu style for easy access to the Internet, e-mail, and your favorite programs.")send("+{TAB}")send("{LEFT}")ControlCommand ( "Taskbar and Start Menu Properties", "Keep the &taskbar on top of other windows", 1101, "unCheck", "")controlclick("Taskbar and Start Menu Properties", "OK", 1) Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 3, 2006 Moderators Share Posted October 3, 2006 I'm just curious if it wouldn't have been easier using Opt('WinTitleMatchMode', 4) + ClassNameNN + ControlHide() + Do your Thing + ControlShow() Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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