Page 1 of 1
How to set autohide of taskbar?
Posted: Thu Jan 28, 2010 8:21 am
by molitar
Ok I been working with a Media Player Classic script with a maximize but when I maximize I wish to set the taskbar to auto-hide so the screen will truely be maximized. How can I do in EG?
Re: How to set autohide of taskbar?
Posted: Thu Jan 28, 2010 10:29 am
by Bartman
you should put the player in fullscreen mode not maximize the window.
Re: How to set autohide of taskbar?
Posted: Fri Jan 29, 2010 4:41 am
by molitar
Bartman wrote:you should put the player in fullscreen mode not maximize the window.
Well when I do fullscreen it goes to my HDTV.. I don't always want that.. so this method I can determine fullscreen on monitor or fullscreen on HDTV.. because using minimal view with maximization is the same as fullscreen.
Re: How to set autohide of taskbar?
Posted: Fri Jan 29, 2010 8:40 am
by Pako
For the hide and unhide of the taskbar you can use the following scripts:
Code: Select all
#Script Hide Taskbar
from win32gui import SetWindowPos
from ctypes import windll
TOGGLE_HIDEWINDOW = 0x80
handleTaskBar = windll.user32.FindWindowA("Shell_TrayWnd", "")
SetWindowPos(handleTaskBar, 0, 0, 0, 0, 0, TOGGLE_HIDEWINDOW)
Code: Select all
#Script Unhide Taskbar
from win32gui import SetWindowPos
from ctypes import windll
TOGGLE_UNHIDEWINDOW = 0x40
handleTaskBar = windll.user32.FindWindowA("Shell_TrayWnd", "")
SetWindowPos(handleTaskBar, 0, 0, 0, 0, 0, TOGGLE_UNHIDEWINDOW)
Pako
Re: How to set autohide of taskbar?
Posted: Fri Jan 29, 2010 8:59 am
by molitar
Thanks again Pako for the help!
Re: How to set autohide of taskbar?
Posted: Sun Jan 31, 2010 6:17 am
by molitar
Pako, this worked great but ran into one little snag.. one of the custom trays I am running won't auto hide and does not have a handle so I can hide it. But I did find if I set the Taskbar to auto-hide the hooked software will hide also so how can I toggle the Auto-Hide of the taskbar?
Re: How to set autohide of taskbar?
Posted: Sun Jan 31, 2010 4:57 pm
by Livin
Pako,
this would be a good Action for EG. Maybe you could ask Bitmonster to add it to the next released build?
Re: How to set autohide of taskbar?
Posted: Tue Feb 02, 2010 7:30 pm
by Pako
@molitar:
Well.
I made a small plugin with which you can control the taskbar.
I discovered, that in Windows 7 is no longer possible for the taskbar disable feature "Allways On Top".
Thus, even in my plugin are these options only available in earlier versions of Windows.
@Livin:
No comment.
Pako
Re: How to set autohide of taskbar?
Posted: Wed Feb 03, 2010 4:00 am
by molitar
Pako wrote:@molitar:
Well.
I made a small plugin with which you can control the taskbar.
I discovered, that in Windows 7 is no longer possible for the taskbar disable feature "Allways On Top".
Thus, even in my plugin are these options only available in earlier versions of Windows.
@Livin:
No comment.
Pako
Excellent thanks.. yeah Microsoft just keeps making windows have less and less customizations.. IE lost it's customization, taskbar lost it's, classic start menu gone unless you use classic shell 3rd party software to get it back. Thanks for the plugin.