Hi. I am new to applescript and I don’t know if this is possible. I have audio files from internet radio that I’d like to clean up the beginnings and endings. I can do this manually by opening the audio file in QuickTime Player and manually moving the selection markers and then choosing trim. I’d like to make this process easier by scripting it, i.e. choose a file, enter a start time, enter an end time and trim the file, but I don’t understand the dictionary that well. The two items in the dictionary I was thinking I could use are select and trim.
select‚v : Select a range of time
select reference : the movie whose selection is to be set
[at integer] : starting time of the selection
[to integer] : end time of the selection
trim‚v : Remove all content before and after the current selection
trim reference : movie
My questions are:
- Is what I’m looking to do possible in AppleScript?
- If so, am I looking at the right dictionary items?
- If so, how do I use these items in a script?
Any help would be appreciated.
Model: iMac G5
Browser: Safari 412.2
Operating System: Mac OS X (10.4)