本帖最后由 chishingchan 于 2023-10-25 19:27 编辑
脚本本意:列出亚洲国家字体
以下脚本运行后没有显示“黑体”,不知道那个语句用的不当!请指点,谢谢!#include <WinAPIEx.au3>
Local $s
$fso = ObjCreate("Scripting.FileSystemObject")
$f = $fso.GetFolder(_WinAPI_ShellGetSpecialFolderPath($CSIDL_FONTS))
$fc = $f.Files
For $f1 In $fc
If StringInStr($f1.name, ".tt") And Not StringIsAlNum(StringStripWS(_WinAPI_GetFontResourceInfo($f1.name, 1), 8)) Then $s &= _WinAPI_GetFontResourceInfo($f1.name, 1) & @CRLF
Next
MsgBox(0,"",$s)
答案在 2# |