I want determine with Autohotkey which screen the taskbar is on?
If you want to know why, of course, tell ichs gladly.
I want determine with Autohotkey which screen the taskbar is on?
If you want to know why, of course, tell ichs gladly.
The Taskbar displays on your Primary Display Monitor, listed as Display 1. To find your primary Monitor in Autohotkey use SysGet:
; Store the Monitor number of the Primary Monitor in OutPutVar
SysGet, OutPutVar, MonitorPrimary
MsgBox % OutPutVar
There is known bug where when you have changed your Primary display the Taskbar might remain on your 2nd monitor while all your icons will be on your Primary. Read about here.