 
     result =
 
-    /*
-    Loop, Parse, text, `n, `r
-    {
-        splitedLine := StrSplit(A_LoopField, " | ")
-        col3Len := StrLen(splitedLine[3])
-        col3RealLen := StrLen(RegExReplace(splitedLine[3], "[^\x00-\xff]","11"))
-        if (col3RealLen > col3MaxLen)
-        {
-            col3MaxLen := col3RealLen
-        }
-    }
-    */
+    if (g_SkinConf.HideCol4IfEmpty)
+    {
+        hasCol4 := false
+        Loop, Parse, text, `n, `r
+        {
+            if (StrSplit(A_LoopField, " | ")[4] != "")
+            {
+                hasCol4 := true
+                break
+            }
+        }
+
+        if (!hasCol4)
+        {
+            ; 加上中间的 " | "
+            col3MaxLen += col4MaxLen + 3
+            col4MaxLen := 0
+        }
+    }
 
     Loop, Parse, text, `n, `r
     {


        splitedLine := StrSplit(SubStr(A_LoopField, 10), " | ")
        col3RealLen := StrLen(RegExReplace(splitedLine[1], "[^\x00-\xff]", "`t`t"))
        col4RealLen := StrLen(RegExReplace(splitedLine[2], "[^\x00-\xff]", "`t`t"))

        if (col3RealLen > col3MaxLen)
        {

        return
    }

    fileContent := "var RunZCmdTool = '"
    fileContent .= StrReplace(A_ScriptDir, "\", "\\") "\\RunZ.exe "
            .  StrReplace(A_ScriptDir, "\", "\\") "\\Core\\RunZCmdTool.ahk'`n"

    jsText =
(
var ws = new ActiveXObject("WScript.Shell")

var arg = ""
for (var i = 0; i < WScript.Arguments.Count(); i++)
{
    arg += " \"" + WScript.Arguments(i) + "\" "
}

ws.Run(RunZCmdTool + arg)
