12-05-2007, 02:42 AM
Double left click on a free area in SysListView32 to go up
in the directory tree.
Works also for SpeedCommander.
trigger:
##Lh1 //FF_dbl_left
FF_dbl_left
left_explorer
left_speedcommander
***
needs to be extented for file dialogs.
in the directory tree.
Works also for SpeedCommander.
trigger:
##Lh1 //FF_dbl_left
FF_dbl_left
;/
function# iid FILTER&f
str cla.getwinclass(win(mouse))
str childclass.getwinclass(f.hwnd2)
str win_exe.getwinexe(win());err
int+ _xm = xm
int+ _ym = ym
int+ lhwnd = f.hwnd
if(!f.hwnd2) ret -2
sel _s.getwinexe(f.hwnd) 1
,case "explorer"
,,if(GetWinId(f.hwnd2)=1)
,,,mac "left_explorer"
,,,,ret -1
,case "speedcommander"
,,if(GetWinId(f.hwnd2)=183)
,,,mac "left_speedcommander"
,,,
,,,,ret -1
;
,case else ret -2 ;;default action in other programs
,,
left_explorer
spe -1
Acc m=acc(mouse)
if (_s.getwinclass(child(m))!="SysListView32"); ret -1
str name=m.Name
if name.len=0
,key AU
,;'B
,;out "up"
else
,lef
,
,
left_speedcommander
spe -1
Acc m=acc(mouse)
if (_s.getwinclass(child(m))!="SysListView32"); ret -1
str name=m.Name
if name.len=0
,'B
else
,lef
,
,
***
needs to be extented for file dialogs.