I'd like a script which reveals the selected clip on Pro Tools timeline, in the Finder.
I'd like a script which reveals the selected clip on Pro Tools timeline, in the Finder.
there are several scripts in the system which fail; I found none currently working. (as of Sept 9, 2025).
The next step for me would be to script the equivalent of dropping that file on Soundminer icon, then linking these in a "From PT Timeline Selection, open source of clip in SM"
Obviously PT can have multiple clips selected on the timeline; I'd propose to simply have the first clip, OR the first clip that is highlighted in the clip/region bin; this would be enough.
-jeremiah
Chris Shaw @Chris_Shaw2025-09-10 00:46:54.640Z@Owen_Granich_Young,
do you have something up your sleeve for this?- OOwen Granich-Young @Owen_Granich_Young
No but you made me futz around...
Try this? ... HOLY SHIT!
let filepath= sf.app.proTools.getFileLocation().fileLocations[0].path log(filepath) sf.file.open({ applicationPath : '/Applications/Soundminer v6.app', path : filepath })
- JIn reply toJeremiah_Moore⬆:Jeremiah Moore @Jeremiah_Moore
Tested it... and THIS IS WORKING HERE!
On a couple of files it did not work, but I think it's because those files are not in my soundminer database. Bit further testing needed to be sure it's recalling SM settings as it should; but amazing!
Would be nice to have a more general-purpose variant which did a reveal-in-finder...
- OOwen Granich-Young @Owen_Granich_Young
Should be able to adapt this code to just reveal in finder
- OOwen Granich-Young @Owen_Granich_Young
let filepath= sf.app.proTools.getFileLocation().fileLocations[0].path sf.system.exec({ commandLine: `open -R "${filepath}"`});SDK reveal in finder... pretty nice not to have to deal with any right click mouse simulation!
- JJeremiah Moore @Jeremiah_Moore
Just pasted this in as a new script command, and it's working! GREAT!
- JIn reply toJeremiah_Moore⬆:Jeremiah Moore @Jeremiah_Moore
yeah, I think there needs to be some error trapping for when the sound does not exist in soundminer... not sure how SF would know, but in cases where the file DOES exist in SM, it appears... and in cases where it does NOT exist, Soundflow throws a log window... but when I look at the log I see nothing interesting, just that the script was called and the filepath of the selected clip...
In reply toJeremiah_Moore⬆:Matt Friedman @Matt_FriedmanAs per the original request, this script will find all selected clips in the timeline and/or clip list, and reveal them in the finder.
It will even reveal them if spread across across multiple finder windows.