Viewing 1 post (of 1 total)
  • Author
    Posts
  • #27202
    Display Error
    Participant

    Could someone please help me with a Find & Replace problem?
    I’m trying to batch update thousands of .SFZ files by inserting the current file folder name e.g.

    <region>
    sample=042_F2.wav
    pitch_keycenter=f2

    becomes:

    <region>
    sample=..\..\..\..\Audio\MULTISAMPLES\(!CurrentFilesFolderName!)\042_F2.wav
    pitch_keycenter=f2

    The relative part remains static but I need to dynamically insert the active file’s directory name somehow.
    Is it possible with ‘Find in Files’ & RegEx or should I be approaching this differently?

    Thank you for any help!

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.