Jump to content

Adding a taskbar toolbar


Recommended Posts

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

Link to comment
Share on other sites

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 by ACalcutt

Andrew Calcutt

Http://www.Vistumbler.net

Http://www.TechIdiots.net

Its not an error, its a undocumented feature

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...