No internet connection
  1. Home
  2. How to

Wanting to create a script to do versioning in finder. Also, command request: versioning or sequencing

By Sam Miille @Sam_Miille
    2024-09-16 14:51:13.084Z

    How would I do the following to a already selected .ptx file in the Mac finder?:
    Duplicate the .ptx file
    rename to the next number in sequence.

    so, for instance I have my session, "my_session_001.ptx". I want this to duplicate and call the new session "my_session_002.ptx"

    I'd love to simply make this with the pre defined macros. can we get a macro that adds a version number? i.e. 001->002 ?

    • 2 replies
    1. S
      In reply toSam_Miille:
      Sam Miille @Sam_Miille
        2024-09-18 16:47:14.836Z

        Perfect! thanks Brandon.

        2 things:

        1. oddly, (or perhaps its just beyond me) you are nota able to undo (command+z) when using the linked code. would be cool to be able to, but not a big thing.

        2. I'd love an action to add a number in a sequence to a name via a macro. I'm a sound editor, not a coder. So when it comes to java, I'm a neophyte. this could be so useful in so many levels, such as ADR recording, sound libraries, versioning...