Jump to content

Right clicking the taskbar

Recommended Posts

Well here's what I got:

Opt( "WinTitleMatchMode", 4 )
ControlSend( "classname=Shell_TrayWnd", "", "ToolbarWindow322", "{APPSKEY}" )

And uh, it doesn't right click the taskbar. I want to automate the process of adding a toolbar like the quicklaunch bar, but I wasn't able to get beyond step 1. TIA you scripting gurus!

Link to comment
Share on other sites

Guest >Stupid<

get the screensize and depending on that have it right click a certain location like

If @DesktopHeight = 1024 Then
MouseClick ( "right", some x, some y )
Elseif @DesktopHeight = 800 Then
MouseClick ( "right", some x, some y )
And so on

but it wont work if they have the taskbar on the left, right, or top location...

i will try to figure it out using the code you already have though...

Link to comment
Share on other sites

CS, that worked, thanks!  Why didn't my code work though?

Probably the same reason that ControlSend fails (but Send works) for this:

$title = "Untitled - Notepad"
ControlSend($title,"", "Edit1", "{APPSKEY}")

The AppsKey might be one of the keys that does not work with ControlSend

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
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

  • Recently Browsing   0 members

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