1 Reply Latest reply: Feb 14, 2010 12:33 AM by Stan Oliver RSS

    AA3 Script To Create Markers By Division

    Shan-Dysigns Community Member

      I brought this topic up a while back http://forums.adobe.com/thread/525033?tstart=0

       

      I wanted to give it another try and hope someone new can help. Long story short, I once had a script that would allow me to choose a division # (/2, /4, /8, etc), and Audition would create markers/cue points based on those division numbers. If I had an audio clip of 4 seconds = 176400 samples, and I chose "/2", I would have a cue marker at (0, 88200) and (88200, 176400) - essentially splitting the audio clip into two equal sections.

       

      If someone can either point me in the right direction, or maybe create a script with one of those examples, I'm sure I could fill in the rest. Thanks...

        • 1. Re: AA3 Script To Create Markers By Division
          Stan Oliver Community Member

          I don't have a script for you. But why don't you try to make a script yourself? The way scripting is implemented in  AA is not rocket science, although it is badly documented. This is from the help file, where you can find more information on scripting.

           

          1. Set up Edit View for the script: If you’re creating a script that applies to open waveforms, open a file typical of the ones you’ll apply the script to. Then select a range if needed.
          2. Choose File > Scripts. The Script  Collections area displays the name of the currently opened script collection.
          3. If the script collection you want isn’t  open, do one of the following:
            • To open an existing script collection, click Open/New Collection, navigate to the collection (SCP) file, and then double-click it.

            • To create a new script collection,  click Open/New Collection. Navigate to the folder in which you want to save the new collection (SCP) file. Then, type a name in the File Name text box, and click Open.

            • To rename a script collection, click  Edit Script File. The collection (SCP) file opens in Windows Notepad. Locate the “Collection:” entry on the first line, and type a new name. Then save the file.

          4. Type a name for your script in the Title  text box.
          5. Click Record. The Scripts dialog box  closes.
          6. Perform the actions that you want to be  part of the script.
            Don’t  open or save a file as part of the actions for the script—these actions are specific to a particular file. If you make a mistake, return to the Scripts dialog box, click Stop Current Script, click Clear, and start over.
          7. After you finish recording the script,  choose File > Scripts, and click Stop Current Script.
          8. Type a description for the script in the  text area of the dialog box.

            The description appears when the script  is selected.You can add or edit a description later by clicking Edit Script File.

          9. Click Add to Collection. The script appears  in the list at the left.