How to access taskbar icons if the taskbar is hidden?
-
- Posts: 130
- Joined: 06 Nov 2022, 01:48
How to access taskbar icons if the taskbar is hidden?
I have an issue where I want the AHK script to check whether wifi has got disconnected and automatically reconnect to the same wifi if disconnected. I have the code for connecting to the wifi however I have to press a hotkey every time to execute it. Is there a way to run it on loop? And I have the taskbar hidden like mac and only appears if I focus the mouse cursor on it.
Re: How to access taskbar icons if the taskbar is hidden?
If your script works, then you may want to try the Loop command as a next step. You can replace your hotkey with that command. See examples at the linked page. Put the code in your auto-execute section.
Re: How to access taskbar icons if the taskbar is hidden?
This sounds too good to be true. I will be watching this to see if you get it with fingers crossed.
It would save me a ton of grief when doing WFH on a crappy laptop that keep dropping the connection for some reason.
It would save me a ton of grief when doing WFH on a crappy laptop that keep dropping the connection for some reason.
-
- Posts: 130
- Joined: 06 Nov 2022, 01:48
Re: How to access taskbar icons if the taskbar is hidden?
See I meant that I'll send #b which focuses the arrow on the taskbar near the menu icon in the taskbar. Then i can imagesearch. But the problem is the taskbar has to show forever which doesn't make any more sense.
Another idea I had is- Can Autohotkey work hand in hand with CMD prompt? Then AHK can remotely send "Netsh wlan show profile" on CMD and the wifi connected status would show. But CMD shouldn't interrupt by opening as an application in a window that's the problem. If there was like a remote controlsend without the application even launching in the foreground, then it would be amazing. to put it in a nutshell, CMD should work like a function. Only when you need it you can call it but it shouldn't interrupt the usual order of events (meaning the user's interaction regularly with the computer shouldn't be interfered by CMD)
Another idea I had is- Can Autohotkey work hand in hand with CMD prompt? Then AHK can remotely send "Netsh wlan show profile" on CMD and the wifi connected status would show. But CMD shouldn't interrupt by opening as an application in a window that's the problem. If there was like a remote controlsend without the application even launching in the foreground, then it would be amazing. to put it in a nutshell, CMD should work like a function. Only when you need it you can call it but it shouldn't interrupt the usual order of events (meaning the user's interaction regularly with the computer shouldn't be interfered by CMD)