-
1. Re: Making ZIP file in Bridge CS5 Mac?
Muppet Mark-QAl63s Mar 24, 2011 2:02 PM (in response to John H. Derksen)You would have to have a script add this functionality for you… On the mac 'bridge' could call the system to do this… I have these .zip .dmg .tbz in my bridge CS2 just ain't got about making the changes for CS5 (I haven't had this long and much to catch up on)…
-
2. Re: Making ZIP file in Bridge CS5 Mac?
Omke Oudeman Mar 24, 2011 5:55 AM (in response to John H. Derksen)Is there a way of making a ZIP (compressed) file directly in Bridge? Now I
have to copy the files to my desktop. Make a ZIP file in the finder and delete
the copied files. Thanx for a answer.
That would be a good feature request for future releases but in the meantime
a script might do the trick for you as Muppet Mark already stated. Maybe
Paul Riggott hops in and has an answer for you.
But I don't understand why you have to copy the file to your desktop first
before using the finder to create a zip file. Place your cursor on the file
or folder and with right mouse click choose 'reveal in finder' and you are
where you should be to create a Zip file.
-
3. Re: Making ZIP file in Bridge CS5 Mac?
John H. Derksen Mar 24, 2011 7:18 AM (in response to Omke Oudeman)This is already a great help to make ZIP files. Thanx Omke!
Op 24 mrt 2011, om 13:56 heeft Omke Oudeman het volgende geschreven:
>> Is there a way of making a ZIP (compressed) file directly in Bridge? Now I
>> have to copy the files to my desktop. Make a ZIP file in the finder and delete
>> the copied files. Thanx for a answer.
That would be a good feature request for future releases but in the meantime
a script might do the trick for you as Muppet Mark already stated. Maybe
Paul Riggott hops in and has an answer for you.
But I don't understand why you have to copy the file to your desktop first
before using the finder to create a zip file. Place your cursor on the file
or folder and with right mouse click choose 'reveal in finder' and you are
where you should be to create a Zip file.
>
-
4. Re: Making ZIP file in Bridge CS5 Mac?
Paul Riggott Mar 24, 2011 12:56 PM (in response to Omke Oudeman)You know I hate Macs but I do like a challenge, I don't have CS5 on the Mac but this works with CS4.
Please try this...
#target bridge if( BridgeTalk.appName == "bridge" ) { PIZ = new MenuElement("command", "ZIP selected files", "at the end of myTools", "myZIPS"); } PIZ.onSelect = function () { zipFiles(); } function zipFiles(){ var sels = app.document.selections; if (sels < 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); } } -
5. Re: Making ZIP file in Bridge CS5 Mac?
Muppet Mark-QAl63s Mar 24, 2011 2:01 PM (in response to Paul Riggott)Paul, you knows you loves the Apple… Stop with this denial… But as its you that mentions OS should you not check it too… Just in case some plumb tries use it…
if (File.fs == 'Macintosh' && BridgeTalk.appName == 'bridge')
-
6. Re: Making ZIP file in Bridge CS5 Mac?
John H. Derksen Mar 24, 2011 2:12 PM (in response to Paul Riggott)Sorry, but scripts are like chinese for a simple designer like me. Maybe it's helpfull for another user.
Thanx anyway. I will use the solution Omke Oudeman gave me.
John
-
7. Re: Making ZIP file in Bridge CS5 Mac?
Paul Riggott Mar 24, 2011 2:44 PM (in response to Muppet Mark-QAl63s)Thanks Mark I will change it. I had to dust off the iBook and find the charger (it was thrown under my desk ) hopefully it will be a while before I have to turn it on again.
John: there is always more than one way to do something and as long as you have found a way, that's great.

