Jump to content
Sign in to follow this  
Guest neLO

Taskbar Properties

Recommended Posts

Guest neLO

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

Share this post


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!

Share this post


Link to post
Share on other sites
Guest neLO

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

Share this post


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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...