not sure of this is the best way but seems to work for me on win10
maybe Gintaras has a better idea
int w=win("" "CabinetWClass")
int c=id(100 w)
err+
,out "Explorer window not open"
,ret
Acc a
str name FolderName="Desktop";;change to folder name you want to search for
int mhwnd
rep
,a.FromMouse
,mhwnd=a.Hwnd
,if mhwnd=c
,,name=a.Name
,,if name=FolderName
,,,out "Mouse is over folder"
,,,break
,name.fix(0)
,0.3
maybe Gintaras has a better idea