kyriakos876 wrote: ↑November 7th, 2018, 9:39 amThat's different from what the op wants... This probably reads and translates the registry value I mentioned above, which does not provide the information needed. Unless the size includes the current width and height whose height you can use to know if the taskbars currently hidden. (But I highly doubtful Windows shares this information)
I am not sure what you mean together since both of you say different things. Anyways, replying to both, with this addon it is possible to see both: where is the taskbar (top, bottom, left, right), and if it is shown or hidden now using provided by the addon x, y, w, h of the taskbar.balala wrote: ↑November 7th, 2018, 11:51 amThat AutoIt addon probably shows, as you said, the position, size and if it has auto-hiding option, but not if the auto-hidden taskbar is up or down.
In fact, I'd say that what Slim08 asked initially is probably not possible: https://forum.rainmeter.net/viewtopic.php?f=4&t=30007#p154684
From those values you can logically conclude with simple math the state of the taskbar.
I have my taskbar at top and it is set to auto-hiding. According to that addon, my taskbar has 30px height. When it is hidden its Y is -28, which means (and really is) my taskbar shows only two pixels from the top in the hidden state. When I hover the taskbar and make it visible the addon shows that the Y position is 0.
- if the taskbar is hidden on the Top, the Y value will be negative.
- if the taskbar is hidden on the Left, the X value will be negative.
- if the taskbar is hidden on the Right, the X value will be almost the same as the SCREENAREAWIDTH (recall my example when my taskbar was showing couple of pixels in the hidden mode)
- if the taskbar is hidden on the Bottom, the Y value will be almost the same as the SCREENAREAHEIGHT (again, recall my example when my taskbar was showing couple of pixels in the hidden mode)