Skip to main content
Known Participant
February 25, 2020
Question

Anyone able to zip files within Bridge on MacOS?

  • February 25, 2020
  • 2 replies
  • 1722 views

For as long as I can remember, Bridge has never had the function to compress files to .zip format from within the app. I need to right-click and reveal in finder. I'm sure the question has come up before, but I can't find much about this. Is there a script or extension that allow the user to create zip files from the Bridge interface? I am using MacOS Catalina and the Unarchiver as my default unzipper.

 

Is there a feature request posted somewhere to vote for this?

 

thanks in advance!

 

This topic has been closed for replies.

2 replies

Community Manager
August 5, 2023

Hi,

 

The latest Beta build 14.0.0.57 has support for Compress/Extract (Zip/Unzip) files and folders along with a few other features.
For a complete list of features available in the Beta build, please refer to the community post: 
https://community.adobe.com/t5/bridge-discussions/adobe-bridge-beta-is-now-available-14-0-0-57/td-p/13986216

 
We would love for you to try it out and share feedback.

Regards,
Bridge Team

SuperMerlin
Inspiring
February 25, 2020

There is an old javascript you could try as I don't have a Mac so cannot test it.

It requires you to select the documents the right mouse clik and select "ZIP selected files"

#target bridge
   if( File.fs == 'Macintosh' && BridgeTalk.appName == 'bridge' ) { 
	  PIZ = new MenuElement("command", "ZIP selected files", "at the end of Thumbnail");
      }

PIZ.onSelect = function () { 
var sels = app.document.selections;
if (sels.length < 1) {
	alert("No documents selected");
	return;
}
var win = new Window('dialog','Zip Selected');
win.pnl1 = win.add('panel',undefined,undefined,{borderStyle:'black'});
win.grp1 = win.pnl1.add('group');
win.grp1.title = win.grp1.add('statictext',undefined,'ZIP Selected Documents');
var g = win.grp1.title.graphics;
g.font = ScriptUI.newFont('Georgia','BOLDITALIC',26);
win.grp2 = win.pnl1.add('group');
win.grp2.st1 = win.grp2.add('statictext',undefined,'Zip Filename');
win.grp2.et1 = win.grp2.add('edittext');
win.grp2.et1.helpTip='.zip will be added to the name';
win.grp2.et1.preferredSize=[200,25];
win.grp3 = win.pnl1.add('group');
win.grp3.bu1 = win.grp3.add('button',undefined,'Zip Files');
win.grp3.bu2 = win.grp3.add('button',undefined,'Cancel');
win.grp3.bu1.onClick=function(){
	if(win.grp2.et1.text == ''){
		alert("No Filename has been entered!");
		return;	
		}
	win.close(1);
	zipem();
	}
win.center();
win.show();
function zipem(){
var ZIP ="'"+win.grp2.et1.text +".zip' ";
var cmd = "cd "+ app.document.presentationPath+"\n";
cmd += "/usr/bin/zip ";
cmd+= ZIP;
for(var a in sels){
	cmd += "'" +decodeURI(sels[a].name) + "' ";
	}
app.system(cmd);
}
};