Batch Posted June 4, 2004 Share Posted June 4, 2004 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 More sharing options...
Guest Guest Posted June 6, 2004 Share Posted June 6, 2004 So I guess it can't be done? Link to comment Share on other sites More sharing options...
Guest >Stupid< Posted June 6, 2004 Share Posted June 6, 2004 get the screensize and depending on that have it right click a certain location likeIf @DesktopHeight = 1024 Then MouseClick ( "right", some x, some y ) Elseif @DesktopHeight = 800 Then MouseClick ( "right", some x, some y ) And so on Endif 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 More sharing options...
CyberSlug Posted June 6, 2004 Share Posted June 6, 2004 This might work: Opt( "WinTitleMatchMode", 4 ) WinActivate("classname=Shell_TrayWnd") Send("{APPSKEY}t") 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 More sharing options...
Batch Posted June 7, 2004 Author Share Posted June 7, 2004 CS, that worked, thanks! Why didn't my code work though? The specific control for the taskbar was "ToolbarWindow322"... Strange, but thank you again! Link to comment Share on other sites More sharing options...
CyberSlug Posted June 7, 2004 Share Posted June 7, 2004 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" WinActivate($title) ControlSend($title,"", "Edit1", "{APPSKEY}") ;;;;Send("{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 More sharing options...
Batch Posted June 7, 2004 Author Share Posted June 7, 2004 That's good to know, thanks a lot! 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