| View previous topic :: View next topic |
| Author |
Message |
sosaited
Joined: 24 Feb 2005 Posts: 233
|
Posted: Fri Feb 25, 2005 1:35 am Post subject: HIDING/UNHIDING TASKBAR |
|
|
hi...
i want to hide the taskbar... and then unhide it.. so i tried this command:
"WinHide, Shell_TrayWnd"
And Also:
"WinActivate, Shell_TrayWnd
Send, !{esc}
WinHide, Shell_TrayWnd"
but its not working.... help me please |
|
| Back to top |
|
 |
Serenity
Joined: 08 Nov 2004 Posts: 892
|
Posted: Fri Feb 25, 2005 1:41 am Post subject: |
|
|
You need to use ahk_class before if your using the window class name, like so:
| Code: | | WinHide, ahk_class Shell_TrayWnd |
_________________ "Anything worth doing is worth doing slowly." - Mae West
 |
|
| Back to top |
|
 |
sosaited
Joined: 24 Feb 2005 Posts: 233
|
Posted: Fri Feb 25, 2005 1:47 am Post subject: |
|
|
thanks... it worked... and now to unhide it ?
i tried "WinActivate, ahk_class Shell_TrayWnd
WinShow, ahk_Class Shell_TrayWnd
but not working |
|
| Back to top |
|
 |
Serenity
Joined: 08 Nov 2004 Posts: 892
|
Posted: Fri Feb 25, 2005 1:51 am Post subject: |
|
|
You'll need to add DetectHiddenWindows, On to that, like this (ps. using the code tags makes things easier to read):
| Code: | DetectHiddenWindows, On
WinShow, ahk_Class Shell_TrayWnd |
_________________ "Anything worth doing is worth doing slowly." - Mae West
 |
|
| Back to top |
|
 |
|