title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Getting VBScript ReadTags to work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Howie
    • Aug 2007
    • 3

    Getting VBScript ReadTags to work

    Am using the sample VBScript off the site to test out the scripting functions.

    The first part, listing the codecs works fine, but am getting a Type Missmatch on the dMC.ReadIDTag function. All I have changed is the file path, which points to a .flac file on my disc. Have made sure it's there with a FileExists check in the script, but no joy.

    Is there a syntax error in that part of the code:

    ' Read All IDTags
    For i = 0 To 10000
    Dim Element, Value
    Call dMC.ReadIDTag("m:\test\track1.flac", i, Element, Value)
    If Element = "" Then Exit For
    Call WshShell.Popup(Element, , Value, 0)
    Next

    Or am I missing something.

    Ta.

    H.
Working...

]]>