     clipboard := Arg
     GoSub, Clip
 return
+
+WindowList:
+    result := ""
+
+    WinGet, id, list, , , Program Manager
+    Loop, %id%
+    {
+        thisId := id%A_Index%
+        WinGetTitle, title, ahk_id %thisId%
+        WinGet, name, ProcessName, ahk_id %thisId%
+        if (title == "")
+        {
+            continue
+        }
+        result .= "* | 窗口 | " name " | " title "`n"
+    }
+
+    DisplayResult(AlignText(result))
+    TurnOnResultFilter()
+return

    @("CurrencyRate", "汇率 使用示例： hl JPY EUR 2")
    @("CNY2USD", "汇率 人民币兑换美元")
    @("USD2CNY", "汇率 美元兑换人民币")
    @("ProcessList", "进程列表")
    @("UrlEncode", "URL 编码")
    @("DiskSpace", "查看磁盘空间 df")
    @("ArgTest", "参数测试：ArgTest arg1,arg2,...")

        result = %result%* | %drive% | 总共: %cap% G  可用: %free% G | 已使用：%percent%`%  卷标: %label%`n
    }

    DisplayResult(AlignText(result))
return

AhkTest:
