 <cm_ListInternalOnly>:
     SendPos(1006)
 return
-;<cm_Edit>: >>    编辑{{{2
+;<cm_Edit>: >>编辑{{{2
 <cm_Edit>:
-        SendPos(904)
+    SendPos(904)
 return
 ;<cm_Copy>: >>复制{{{2
 <cm_Copy>:

azHistorySelect()
{
    Global history_name_obj
    If ( history_name_obj[A_ThisMenuItem] = 2122 ) or RegExMatch(A_ThisMenuItem,"::\{20D04FE0\-3AEA\-1069\-A2D8\-08002B30309D\}")
        GoSub,<cm_OpenDrives>
    Else If ( history_name_obj[A_ThisMenuItem] = 2121 ) or RegExMatch(A_ThisMenuItem,"::(?!\{)")
        GoSub,<cm_OpenDesktop>
    Else If ( history_name_obj[A_ThisMenuItem] = 2126 ) or RegExMatch(A_ThisMenuItem,"::\{21EC2020\-3AEA\-1069\-A2DD\-08002B30309D\}\\::\{2227A280\-3AEA\-1069\-A2DE\-08002B30309D\}")
        GoSub,<cm_OpenPrinters>
    Else If ( history_name_obj[A_ThisMenuItem] = 2125 ) or RegExMatch(A_ThisMenuItem,"::\{F02C1A0D\-BE21\-4350\-88B0\-7367FC96EF3C\}") or RegExMatch(A_ThisMenuItem,"::\{208D2C60\-3AEA\-1069\-A2D7\-08002B30309D\}\|") ;NothingIsBig的是XP系统，网上邻居是这个调整
        GoSub,<cm_OpenNetwork>
    Else If ( history_name_obj[A_ThisMenuItem] = 2123 ) or RegExMatch(A_ThisMenuItem,"::\{26EE0668\-A00A\-44D7\-9371\-BEB064C98683\}\\0")
        GoSub,<cm_OpenControls>
    Else If ( history_name_obj[A_ThisMenuItem] = 2127 ) or RegExMatch(A_ThisMenuItem,"::\{645FF040\-5081\-101B\-9F08\-00AA002F954E\}")
        GoSub,<cm_OpenRecycled>
    Else
    {
        ThisMenuItem := RegExReplace(A_ThisMenuItem,"\t.*$")
        ThisMenuItem := StrReplace(ThisMenuItem, ":＆:", "&")
        ControlSetText,%TCEdit%,cd %ThisMenuItem%,ahk_class TTOTAL_CMD
        ControlSend,%TCEdit%,{enter},ahk_class TTOTAL_CMD
    }
}
; <DownSelect> {{{1

    Totalcomander_select_tc()
return
Totalcomander_select_tc(){
    GUI, FindTC:Default
    GuiControlGet, dir, , Edit1
    TCPath := dir "\totalcmd.exe"
    TCINI  := dir "\wincmd.ini"
    GUi, FindTC:Destroy
    IniWrite, %TCPath%, %ConfigPath%, TotalCommander_Config, TCPath
    IniWrite, %TCINI%, %ConfigPath%, TotalCommander_Config, TCINI
}
Totalcomander_select_tc64:
    Totalcomander_select_tc64()
return
Totalcomander_select_tc64(){
    GUI, FindTC:Default
    GuiControlGet, dir, , Edit1
    TCPath := dir "\totalcmd64.exe"
    TCINI  := dir "\wincmd.ini"
    GUi, FindTC:Destroy
    IniWrite, %TCPath%, %ConfigPath%, TotalCommander_Config, TCPath
    IniWrite, %TCINI%, %ConfigPath%, TotalCommander_Config, TCINI
}
Totalcomander_select_tcdir:
    Totalcomander_select_tcdir()
return
Totalcomander_select_tcdir(){
    FileSelectFolder, tcdir, , 0, 打开TC安装目录
    GuiControl, , Edit1, %tcdir%
}

;切换显示比例50%-100%
<Toggle_50_100Percent>:
    ControlGetPos, , , wp, hp, TPanel1, ahk_class TTOTAL_CMD
    ControlGetPos, , , w1, h1, TMyListBox1, ahk_class TTOTAL_CMD
    ControlGetPos, , , w2, h2, TMyListBox2, ahk_class TTOTAL_CMD
    if (wp  < hp)     ;纵向
        {
        if (abs(w1 - w2) > 2  )
            SendPos(909)
        else
            SendPos(910)
        }
    else    ;横向
        {
        if (abs(h1 - h2)  > 2  )
            SendPos(909)
        else
            SendPos(910)
