title
Products            Buy            Support Forum            Professional            About            Codec Central
 

vbscript - reading named tag

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chrisjj
    dBpoweramp Guru

    • Nov 2008
    • 300

    vbscript - reading named tag

    Using vbscript, is there any way to read the value of a named property ("tag")?

    The only member function I see on http://www.dbpoweramp.com/developer-scripting-dmc.htm that operates by property name is Read ID Tag, but this says:

    Note this method is not compatible with VBScripting, instead use
    ReadIDTagElementValue

    and ReadIDTagElementValue doesn't do the same job.

    I am reluctant to resort to AudioProperties and thereby rely on undefined behaviour.

    Thanks.
  • Spoon
    Administrator
    • Apr 2002
    • 44509

    #2
    Re: vbscript - reading named tag

    It is not possible to use VB scripting with that function, VB cannot handle the returned data types.
    Spoon
    www.dbpoweramp.com

    Comment

    • chrisjj
      dBpoweramp Guru

      • Nov 2008
      • 300

      #3
      Re: vbscript - reading named tag

      Originally posted by Spoon
      It is not possible to use VB scripting with that function
      I know that, thanks. That's why I was asking "Using vbscript, is there any way to read the value of a named property"?

      But now I find ReadIDTagElementValue returns the tag element name (key) as well as the value, so I'll settle for that. But due to the unsafety of it not using a reserved separator, if anyone has a better method, please do say. Thanks.
      Last edited by chrisjj; June 25, 2011, 12:15 PM.

      Comment

      Working...

      ]]>