09-13-2004, 07:31 PM
[color=blue]int [/color]hwnd=[color=blue]win[/color](mouse); [color=blue]str [/color]s.getwinclass(hwnd)
[color=blue]if[/color](s~"ExploreWClass"=0 [color=blue]and [/color]s~"CabinetWClass"=0 [color=blue]and [/color]s~"Progman"=0) [color=blue]ret[/color]
Acc a=[color=blue]acc[/color](mouse)
[color=blue]if[/color](!a.a [color=blue]or [/color]![color=blue]acctest[/color](&a "" "LISTITEM" 0 "SysListView32")) [color=blue]ret[/color]
[color=blue]out [/color]a.Name
but without path.