Bridge: Bring back "Auto Preview Latest File" for Bridge CC please

  • 1
  • Idea
  • Updated 2 years ago
  • (Edited)
I support a photo studio with 6 photographers and 8 studios.  All our guys shoot tethered and several shoot talent.  They used to use Bridge to display their shoots on screen so the client can check images while theyre being shot.  We used to be able to set the application to jump to the latest file but that has been taken away with the newer versions of bridge so we have moved away from that app.  

If the script could be brought back or a plugin ?  I can move them all back over to using Bridge again !  Our current bridge version is CC 2016 V6.3.0.177 ...

Cheers
Mitch
Photo of Mitchell Sharpe

Mitchell Sharpe

  • 2 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Stephen Marsh

Stephen Marsh

  • 64 Posts
  • 14 Reply Likes
I know that Mitch knows about this link, however for others out there:

https://forums.adobe.com/thread/2177278
Photo of Paul Riggott

Paul Riggott

  • 359 Posts
  • 142 Reply Likes
You could try my version...

#target bridge;
if( BridgeTalk.appName == "bridge" ) { 
var showLatestFile= new MenuElement( "command", "Preview Latest File", "at the end of Tools" , "findLatestPaul_R" );
}
showLatestFile.onSelect = function () {
 findLatest = function(){
     try{
    var latest =app.document.visibleThumbnails[0];
    var thumbs = app.document.visibleThumbnails;
for( var t = 0; t < thumbs.length; ++t ){       
    var thumb = thumbs[t];
    var mod = thumb.spec.modified.getTime();
    var lastMod = latest.spec.modified.getTime();
        if( mod > lastMod ) latest = thumb;
     }
 if(latest == app.document.selections[0]) return;
     app.document.deselectAll();
     app.document.select(latest);
     app.document.reveal(latest);
     }catch(e){$.writeln(e + "\n" + e.line); return;}
};
BottomBar = app.document.navbars.filesystem.bottom;
BottomBar.height = 30;
BottomBar.visible = true;
BottomBar.bu1 = BottomBar.add ('button',[5,5,300,25],'Stop Latest File Preview');
id = app.scheduleTask( "findLatest()", 500, true );
BottomBar.bu1.onClick=function(){
app.cancelTask (id);
BottomBar.visible = false;
    }
};