mark2004 Posted March 20, 2008 Posted March 20, 2008 (edited) I need to write a script to resize the taskbar. I've searched the forums and found methods to determine the state/size of the taskbar but I still haven't been able to figure out how to resize it. Here is the code that I have tried (without success): AutoItSetOption("WinTitleMatchMode", 4) WinMove("classname=Shell_TrayWnd","",0,734,1024,34) Edited March 20, 2008 by mark2004
covaks Posted March 20, 2008 Posted March 20, 2008 If you look at HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\Components\0 the Position value you can see how the binary data changes as you resize the taskbar and refresh the regedit window. You could probably write a script to manipulate this and then refresh explorer.exe. Infact, I modified the value, killed explorer and restarted it, and my new taskbar size took effect, so there's no doubt you can do this. Whether or not this can mess up anything though, I don't know. I'd test more, but I dont' want to screw up any of the workstations here at work. heh.
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