Shortcut wanted in x32Win10ProV22H2

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 745
    Windows 10/11
       #11

    Sebastian42 said:
    I want a (batch-file) shortcut to toggle the TaskBar option "Automatically hide the taskbar in desktop mode"
    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
      My Computer


  2. Posts : 416
    Win10 32bit v20H2
    Thread Starter
       #12

    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.
      My Computer


  3. Posts : 745
    Windows 10/11
       #13

    Sebastian42 said:
    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.
    I didn't expect there to be any complications with this. When I double-click AutoHideTaskbar.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.
      My Computer


  4. Posts : 416
    Win10 32bit v20H2
    Thread Starter
       #14

    '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.
      My Computer


  5. Posts : 745
    Windows 10/11
       #15

    When I have some time tonight I'll do some testing with multiple monitors.
      My Computer


  6. Posts : 416
    Win10 32bit v20H2
    Thread Starter
       #16

    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.
      My Computer


  7. Posts : 745
    Windows 10/11
       #17

    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:
    Shortcut wanted in x32Win10ProV22H2-1.png

    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.
      My Computer


  8. Posts : 416
    Win10 32bit v20H2
    Thread Starter
       #18

    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.
      My Computer


  9. Posts : 745
    Windows 10/11
       #19

    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).
      My Computer


  10. Posts : 416
    Win10 32bit v20H2
    Thread Starter
       #20

    'I'll compile a 32 bit version' WOW ! such talent ! You are REALLY getting my hopes up.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:40.
Find Us




Windows 10 Forums