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

Thread: Script to change TITLE based on characters in ORIGFILENAME

  1. #1
    Eric Seaberg's Avatar
    Join Date
    Apr 2010
    Location
    San Diego
    Posts
    16

    Script to change TITLE based on characters in ORIGFILENAME

    I have radio programs I need to SRC from 44.1k to 48k and rename using batch convert. I've tried using several of the dynamic script ideas, but nothing seems to work.

    What I'm trying to do is replace part of the existing filename with new characters while keeping other characters, i.e.:

    Original filename: md20121203, 04, 05, 06, etc. based on the air date.
    I want to replace "md201212" with "momdec " (space at the end) and keep the last two chars., 03, 04, 05, 06, etc. from the original filename.

    I don't really see an optiion to use part of "origfilename" but there are lots of options to use "string", which doesn't really help me as the string elements are different for each file.

    Any ideas? Thanks...

  2. #2
    Administrator
    Join Date
    Apr 2002
    Posts
    39,283

    Re: Script to change TITLE based on characters in ORIGFILENAME

    You can do something like:

    [DEL]1,5,[origfilename][]

Posting Permissions

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