title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 3 of 3

Thread: vbscript - reading named tag

  1. #1
    dBpoweramp Enthusiast
    Join Date
    Nov 2008
    Posts
    296

    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.

  2. #2
    Administrator
    Join Date
    Apr 2002
    Posts
    43,855

    Re: vbscript - reading named tag

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

  3. #3
    dBpoweramp Enthusiast
    Join Date
    Nov 2008
    Posts
    296

    Re: vbscript - reading named tag

    Quote Originally Posted by Spoon View Post
    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; 06-25-2011 at 08:15 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •