Guest neLO Posted August 25, 2004 Posted August 25, 2004 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
CyberSlug Posted August 25, 2004 Posted August 25, 2004 (edited) 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 August 25, 2004 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!
Guest neLO Posted August 25, 2004 Posted August 25, 2004 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
this-is-me Posted August 25, 2004 Posted August 25, 2004 WinActivate("classname=Shell_TrayWnd") Send("{APPSKEY}r") Who else would I be?
Developers Jos Posted August 25, 2004 Developers Posted August 25, 2004 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.
this-is-me Posted August 25, 2004 Posted August 25, 2004 You forgot the "r" for properties Who else would I be?
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