TaskbarXI icon indicating copy to clipboard operation
TaskbarXI copied to clipboard

TaskbarXI permanently breaks the ability for other applications, like Autohotkey, from opening the system tray

Open Cariboudjan opened this issue 3 years ago • 0 comments

Scripts such as these fail to operate after TaskbarXI is installed, and continue to fail after TaskbarXI is uninstalled.

ActivateTray:
X = 0
Y = 0
direction = 0
IfWinActive, ahk_class NotifyIconOverflowWindow
	WinHide, ahk_class NotifyIconOverflowWindow
Else 
{
	ControlClick, Button1, ahk_class Shell_TrayWnd
	WinGetPos,,,WidthOfTray,HeightOfTray,ahk_class NotifyIconOverflowWindow
	TrueX := X-WidthOfTray/2
	TrueY := Y-1.5
	WinSet, Transparent, 0, ahk_class NotifyIconOverflowWindow
	ControlClick, Button1, ahk_class Shell_TrayWnd
	WinMove, ahk_class NotifyIconOverflowWindow, , %TrueX%, %TrueY%
	WinSet, Transparent, OFF, ahk_class NotifyIconOverflowWindow
loop 
{
	WinMove, ahk_class NotifyIconOverflowWindow, , %TrueX%, %TrueY%
	IfWinNotActive, ahk_class NotifyIconOverflowWindow
	ExitApp

}
}

Cariboudjan avatar Dec 30 '22 22:12 Cariboudjan