New
#11
Grab AutoHideTaskbar.exe from here:
GitHub Page:
GitHub - m1lhaus/ToggleTaskbarAutohide: Simple Win32 executable to toggle autohide feature of Windows taskbar
Download page:
Release v1.0 . m1lhaus/ToggleTaskbarAutohide . GitHub
Grab AutoHideTaskbar.exe from here:
GitHub Page:
GitHub - m1lhaus/ToggleTaskbarAutohide: Simple Win32 executable to toggle autohide feature of Windows taskbar
Download page:
Release v1.0 . m1lhaus/ToggleTaskbarAutohide . GitHub
The WIN32 looks terribly promising, [toggling the taskbar-autohide is EXACTLY what I am after] but when I made a batchfile with the code 'AutoHideTaskbar.exe' and double clicked it, nothing noticeably happened. So I guess I have left out some important steps. Can you guide me further ? I can't find a source for AutoHideTaskbar.exe
Further research yielded Hide the Taskbar while its set to Auto hide? - AutoHotkey Community
but I'm not clear about how much of the shown code should go into the ahk
or whether I should create two ahks. Any ideas yourself ?
I could also ask in the Autohotkleys forum.
I didn't expect there to be any complications with this. When I double-clickAutoHideTaskbar.exe
my taskbar switches from normal fixed mode to autohide mode immediately. Nothing more to it than that. Double-clicking it again switches the taskbar back to the fixed mode. Same is true if I put it in a batch file (although I see no reason to create a batch file) or if I create a shortcut. It just works.
It's a simple API call, so it should just work, but maybe there are additional variables involved. Do you have multiple monitors? Do you have any software installed that modifies the taskbar?
As for source code, that one is C++ and the source code is at the provided GitHub link. This stackoverflow question includes variations in VB.Net and C# as well.
I wouldn't bother with AHK unless you are already an AHK user. The code I saw for the AHK solution was doing the same API call. It's just a lot more overhead via AHK vs a C++ Exe.
Last edited by LesFerch; 20 Mar 2024 at 21:18.
'Do you have multiple monitors?' I have two.
'Do you have any software installed that modifies the taskbar?' I use the ancient QuickLaunch, and even that is modified by TrueLaunch - well I thought it was, but when I SEARCH for TrueLaunch, I do NOT get a 'local' result.
'I wouldn't bother with AHK unless you are already an AHK user.'
I have used almost all possible hotkeys in AHK. That is the only part of Autohotkeys that I am confident of using. I may have other AHK scripts that have been formulated by others.
When I have some time tonight I'll do some testing with multiple monitors.
Just an observation - multiple monitors and Quicklaunch/TrueLaunch do NOT prevent the 'manual' method of toggling the autohide feature of the Taskbar.
You persistent efforts are much appreciated.
I tested with multiple monitors with Quick Launch and TrueLaunch. The Exe still worked for me, but TrueLaunch has a lot of options, so maybe the settings matter. I can't fix what I can't replicate. I could try making my own version in C# and maybe it will work for you, but I think it would make more sense for you to do some trial and error testing first to see where it breaks. Try on another computer (or VM) that's more vanilla. Try with a different user account.
Edit: I just saw your specs say that you're running Win10 32bit. Is that correct? I only tested on 64bit so far.
That AutoHideTaskbar.exe is 64bit. If you are on a 32bit OS and had run it directly, you would have seen:
Or if run from a command line, you would see this message:
This version of AutoHideTaskbar.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
Since you did not report either of those errors, maybe you're not running a 32bit OS? Please confirm.
I understand about expecting the message - I am VERY familiar with it. Yes my system is x32. I got NO reaction.
I do have a x64 system I can try it on - but where I NEED it is in x32.
Very strange that you get no message. I'll compile a 32 bit version (or I may redo it in C# and make a "Any CPU" version).
'I'll compile a 32 bit version' WOW ! such talent ! You are REALLY getting my hopes up.