Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Single Post  Topic: wdx ActiveX 
Author Message
Lev



PostPosted: Mon Jan 16, 2012 15:45    Post subject: Reply with quote

Пример получения информации о шрифте с помощью AKFontInfo.wdx
пути поправить на свои
Code:
On Error Resume Next
Set wdx = CreateObject("tc_wdx.wdx")
If Err.Number <> 0 Then
   WScript.Echo "Please install TC_wdx!"
   WScript.Quit 1
End If
On Error GoTo 0

wdxPluginPath="c:\WINCMD\Content_wdx\AKFontInfo\AKFontInfo.wdx"
FilePath="c:\windows\fonts\arial.PFM"
f = wdx.Fields(wdxPluginPath,FilePath)

For i = 0 To Ubound(f)-1
  s=s & f(i,0) & " = " & cstr(f(i,1)) & vbCrLf
Next
MsgBox s,,FilePath
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group