Jump to content

Taskbar Properties


Recommended Posts

Hello,

Can anybody help me on how to access the Taskbar properties.

I know that it's normally done by right clicking on the task bar. But How can i do it from within an AutoIt script?

Thxs for help

neLO

Link to post
Share on other sites

According to this site you can use a vbs file....

So here's a coded workaround in AutoIt..... There should be simpler rundll shell32.dll solution, but I couldn't find it.... Watch out for word wrap in the following:

$filename = "foo.vbs" ;create a temporary vbs file
If FileExists($filename) Then FileDelete($filename)
FileWriteLine($filename, 'Dim objShell : Set objShell = CreateObject("Shell.Application") : objShell.TrayProperties')
RunWait('WScript.exe "' & $filename & '"')
FileDelete($filename)

; Optionally bring window to foreground
WinWait("Taskbar and Start Menu Properties")
WinActivate("Taskbar and Start Menu Properties")
Edited by CyberSlug
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 post
Share on other sites

thxs so far ... I'll give it a try. As I don't know any vbs-stuff I'd still prefer a genuine AutoIt solution ....So any other ideas are appreciated.

neLO

Link to post
Share on other sites
  • Developers

What about ?

AutoItSetOption("WinTitleMatchMode", 4)
ControlSend("classname=Shell_TrayWnd","","ToolbarWindow323","+{F10}")

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
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...