bitelse
1/27/2019 - 12:29 AM

Double Click To Hide/Unhide Desktop Icons

If ( A_PriorHotKey = A_ThisHotKey && A_TimeSincePriorHotkey < 350 )
{
	WinGetClass, Class, A
	If Class in Progman,WorkerW
		var:=(hidden=1)?"Show":"Hide"
	ControlGet, Selected, List, Selected, SysListView321, ahk_class %class%
	if selected
		return
	hidden:=!hidden
	Control, %var%,, SysListView321, ahk_class Progman
	Control, %var%,, SysListView321, ahk_class WorkerW
}
Return