ACalcutt Posted July 23, 2006 Posted July 23, 2006 I would like to add a office toolbar to the taskbar by script, but from reading online this doesn't seem to be an easy task. From what i read it seems this can only be done by api or by changing the user registry before the user logs on (http://www.windowsitpro.com/Article/ArticleID/47605/47605.html) Right now my script manually right clicks the taskbar ---> goes to toolbar ---> New toolbar I would like to get away from this method...anyone have any ideas? anyone know how to do this by api? Andrew Calcutt Http://www.Vistumbler.net Http://www.TechIdiots.net Its not an error, its a undocumented feature
Bert Posted July 23, 2006 Posted July 23, 2006 Does it need to be a office toolbar? Also, have you tried to run console to set it up before the user logs in? (Start>run>mmc) The Vollatran project My blog: http://www.vollysinterestingshit.com/
ACalcutt Posted July 23, 2006 Author Posted July 23, 2006 (edited) Well it wouldn't need to be an office toolbar, ... but thats what i want to used it for... i am just looking for an equivilent of right clicking on taskbar --> toolbar --> New toolbar and pointing to a specific folder as far as the mmc way... i don't really know what you mean even a rundll32 link to the new toolbar dialog boy would be better than what i am using now Edited July 23, 2006 by ACalcutt Andrew Calcutt Http://www.Vistumbler.net Http://www.TechIdiots.net Its not an error, its a undocumented feature
ACalcutt Posted July 23, 2006 Author Posted July 23, 2006 This is what i have right now...it works fine as long as the taskbar is on the bottom of the screen... but i would like to get away from sendkeys and mouseclicks Func _TaskToolbar($toolbardir) ;----------------------------------------------------------------------------- ; AutoIt Version: 3.1.0 ; Author:Andrew Calcutt Date:08/09/2005 ; Script Function: Creates a toolbar in the taskbar ;----------------------------------------------------------------------------- MouseClick("right", @DesktopWidth, @DesktopHeight) Send("{DOWN}{RIGHT}{UP}{ENTER}") WinWaitActive("New Toolbar") ControlSetText("New Toolbar", "", "Edit1", $toolbardir) ControlClick("New Toolbar", "", "Button2") EndFunc ;==>_TaskToolbar Andrew Calcutt Http://www.Vistumbler.net Http://www.TechIdiots.net Its not an error, its a undocumented feature
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