Connect with our global Bridge Community.
Askettäinen
I have tried to do this with no luck. This script works great, but how to I make it apply to all sub-folders? Thanks for any suggestions.#target bridge if( BridgeTalk.appName == "bridge" ) { descToTitle = MenuElement.create("command", "Keys to Title", "at the end of Tools");}descToTitle.onSelect = function () { if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript"); var thumb = app.document.selections; for(var s in thumb){ if(thumb.hasMetadata){ var selectedFile = thumb.spec; var myXmpFile = new XMPFile( selectedFile.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE); var myXmp = myXmpFile.getXMP(); var Description = getArrayItems(XMPConst.NS_DC, "keywords"); myXmp.deleteProperty(XMPConst.NS_DC, "title");
Is it possible to run code from the Photoshop listener from Bridge. I am having to use the listener because script goes through is a third party tool and its functions and settings are not exposed (couple hundred lines of listener code). So far with bridge I have found that that its easy enough to ask it to do a single simple thing from bridge but doing more than one line is a lot of work.Is there a way to send a chunk of Phothshop script from bridge?Another option I was thinking, was to have Bridge execute a separate Photoshop script, is that possible....i.e. On button press in bridge run Photoshop script.Sorry for all the questions...I am new to the Adobe scripting model and I have found very little documentation and examples online are very hit and miss.Thank you for any help in advance!
This works in Photoshop and Bridge script (Javascript)var myPath = activeDocument.name;//Tester.PSDthis only works in Photoshop script (JavaScript), but not in Bridge.var ProcessFolder = activeDocument.path//actually stops the script... with no error or warning.How can I get the file's path of the active document in Photoshop through Bridge?Thanks!
Hi,Using a script, how would I go about editing the event IPTC Extension value? To change something in the IPTC Core like the description, it would bexmp.deleteProperty(XMPConst.NS_DC, "description"); xmp.setLocalizedText( XMPConst.NS_DC, "description", null, "x-default", Desc );For title it would bexmp.deleteProperty(XMPConst.NS_DC, "title"); xmp.appendArrayItem(XMPConst.NS_DC, "title", Title, 0, XMPConst.ALIAS_TO_ALT_TEXT); xmp.setQualifier(XMPConst.NS_DC, "title[1]", "http://www.w3.org/XML/1998/namespace", "lang", "x-default");For creator ir would be xmp.deleteProperty(XMPConst.NS_DC, "creator"); xmp.appendArrayItem(XMPConst.NS_DC, "creator", Author, 0, XMPConst.ARRAY_IS_ORDERED); What would it be for event and basically all the other IP
Hi,I have the following code. It edits the metadata of a file and it works as needed, apart from the fact you have to be in the folder of images in order to edit the metadata of those images. What do I need to change in order for me to open up just the parent directory and for the script to go through all the child pages one by one, executing the script? #target bridge if( BridgeTalk.appName == "bridge" ) { var vfRename = new MenuElement( "command", "VF Rename", "at the end of Tools" , "vfRename01" ); } vfRename.onSelect = function () { app.document.deselectAll(); var thumbs = app.document.getSelection("jpg"); for(var a in thumbs){ var f =thumbs.spec; var parts = decodeURI(f.name).replace(/- \d+.jpg$/i,'').split('&&&'); setMetadata( File(f), parts ) } function setMetadata( file, parts ){ var Title = parts[0].toString() + " at " + parts[1].toString() + " by " + parts[2].toString(); var Desc = parts[0].toString() + " at " + parts[1].toString() + " by " + parts[2].toS
Hi,I'm about to create a script to check some tifs and jpgs for the right height and width, resolution and so on. I could get it to work if I see the files in the content panel (looping through the files by app.document.getSelection ...The script needs to check many files in different subfolders (all in one parent folder), so I don't like to use a collection to reveal all files of all subfolders first and then start the script.My plan is to choose the parent folder in the folder panel and the script should loop through each file of each subfolder ...So maybe there's someone who knows a solution for this problem, it would be great!Thanks a lot,Sebastian.
bridge encountered a problem and is unable to read the cache.please try purging the central cache in cache preferences to correct the situation.this I have done but nothing is working in bridge it keep freezing up?
Is it possible to have a script to find multiple images within multiple folders that is on a external hard drive?For instances I have a external hard drive assuming it's for a library of pictures.Inside this hard drive has folders named as below1-10001001-20002001-30003001-4000If I had a perfect csv file for example that calls out for specific pictures for example 2, 10,1500 and 2000 (remember think big, it may be a larger list than this it could be hundreds or thousands of pictures); is there a script that would allow me to find these images and save a copy of them on to my desktop so that way I don't have to hunt for them in the old fashion way? I can read scripts but writing them is a different story.
Hi,I'd like to extract just the titles from a number of photos and then store the titles ready to export to an Excel spreadsheet. How do I write an action to do this repeatedly? Would it be in scripts or batch commands? I use Windows 7 and Bridge & Photoshop CC.All help appreciated.Thanks.Trevor
I need to extract just the file names from several images and paste them in a new file ready for export to an Excel worksheet. How do I write a script in Bridge to do this repeatedly?I am using Windows 7.ThanksTrevor
Hello,I need to create a process of copying the file name of a jpg to the keywords in Bridge CS6. Ideally I need the script to parse the file name and use the words (not the symbols like "_" or "-") as keywords of the file.Here's an example:inputfile name: jane_doe.jpgkeywords:outputfile name: jane_doe.jpgkeywords: jane doeI don't know where to start with this scripting. Any help or advise would be much appreciated! Perhaps you know of a really similar one that i can modify??Thanks in advance,Claudia
HiI am looking to have thumbnails producedThumbnails embedded in Indesign documents are embedded as individual pages, the amount of pages embedded can be set on a document level.Someone asked on the ID scripting forum if it would be possible to view in Bridge thumbnails of spreads instead of pages.To do this one could have ID embed thumbnails of the spreads, BUT this would be really quite tough and involve making a difficult c++ plugin that would take quite a lot of time as the api doesn't include the methods needed.The other option would be to script Bridge to display the embedded page thumbnails next to one another instead of one at a time.One hitch is that bridge would have to detect if the thumbnails are coming from the same thread. Maybe that could be achieved by embedding some meta data in the ID document.I faked this screenshot with fireworks by mistake I did it on a pdf doc instead of an ID one but the idea is the same.Does any know if this is doable?ThanksTrevor
Hello,I have SublimeText associated with my javaScript files but they are opening in ExtendScript Toolkit. They association works fine in the regular finder. I have updated versions of Adobe Bridge CC and the latest Mac OS.
Hi -Does anyone know if there is a way to load multiple stacks of images at a time, with each stack loading into PS CC as individual layered image sets? I've searched this site and others to no avail. My intention is to save the time of opening 150+ images and then stacking them manually to do HDR work on each set. I've tried loading the stacks using Load Files to Photoshop Layers, but this stacks all the stacks into one image with all the stacks in layers beneath. With a properly running script I'd like to be able to open, say 3 images - each with 3 exposures. And then have photoshop create 3 images, each with their 3 exposures. I could then commence with the HDR work by hand for each set.Any insight is appreciated!Thanks,Matt
Here's what I'm doing:I pull up a folder of images with separate subfolders.I check "Show Items From Subfolders" in the View menu.In the Filter panel, I check "portrait" in the Orientation category.Now I have all these portrait-oriented images from several different folders. Now I'd like Bridge to create a "portrait" subfolder in each folder, then move the portrait-oriented images into their corresponding "portrait" subfolders.So.... is that possible? Little help?
Hi Team,I have written script to connect to https url .This url has authentication .But in my script ,http.authentication method is not getting called.please help me if nay one have any idea or any alternate to pass this step.below is the code:var https = new HttpConnection("URL");https.method = "POST";// This piece is for Authentication. Add some additional code to prompt the user to enter their user name and passwordhttps.onAuthentication = function(host, realm, isProxy, retries, currentUser, currentPassword) { // /* alert ("onHttpAuthentication CALLED \n" + "\n host = " + host + "\n realm = " + realm + "\n isProxy = " + isProxy + &n
I tried to modify a script to copy the <xmpMM:DocumentID> to the <photoshop:TransmissionReference>, obviously I have had no luck. Where do I find the correct syntax for calling up the two fields?#target bridgeif( BridgeTalk.appName == "bridge" ) { DocumentIDToSource= MenuElement.create("command", "Document ID to Source", "at the end of Tools"); } DocumentIDToSource.onSelect = function () { var sels = app.document.selections; for(var a in sels){ md =sels.synchronousMetadata; md.namespace = "http://ns.adobe.com/photoshop/1.0/"; var DocumentID = md.DocumentID.toString().replace(/,/g,'.');// Replace a comma with decimal point md.namespace = "http://purl.org/dc/elements/1.1/"; md.TransmissionReference=''; md.TransmissionReference = DocumentID; } }; Any suggestions will be appreciated.
I'm looking for a way to add the filename to the "title", but minus the extension... Anyone have any ideas?
Hi everyone,I have a folder of about 800 or more images. I need to know the pixel dimensions of all the images and I'd rather not open up each of them in Photoshop to take a look as it would be too time-consuming. I wondered if Adobe Bridge had some sort of command that would produce a report of the pixel dimensions of all images within the directory?Appreciate any advice.
My Adobe Bridge CS6 Startup Scripts folder is empty. In Preferences all the startup scripts are checked.Where can I download or find the startup script files? Also, what extension do they have?I am trying to get the "Output to Web or PDF" workspace to load.Thanks all! -Rob
I got an update for ACR (CS6) today and installed it. Suddenly, EVERY time I open Bridge or return to it from another page, it starts thumbnailing my images from scratch. We're talking hundreds of images in this folder. This is new. It did not do this yesterday. What is going on and how do I fix it. If I leave bridge (even if it's still open) and I go back to Bridge, it starts doing the thumbnail extractions all over again and THEN starts on the full size extractions all over again. The result is that all of Photoshop has slowed to a crawl. This is the second time in a month that an update has caused new problems that did not exist before. It's beyond frustrating.that's cute. I just sat through 10 minutes of full size extractions counting down. it got to zero and STARTED AGAIN. Okay, guys, what's going on? I have 50 gb of images from Asia I need to process. I truly don't have time for this. And the thumbnail extractions just started over again.Message title was edited by: Brett N
Is there a way create a script or an option to export the keywords used for that file into the pdf?As of now, the only option is to export the filename and extension.I want to export the keywords that I used for that specific file:So that when I export the PDF it looks like this:Any thoughts?Thank you!
Hi,I'm new at this so bear with me.I have the following code:#target bridgefunction StackIt() { var fileList = Folder(app.document.presentationPath).getFiles("*DIFFUSE*"); for(var a in fileList){ var firstFile = decodeURI(fileList.name.match(/[^_]*/)); var filesToStack = Folder(app.document.presentationPath).getFiles("*"+firstFile+"*"); app.document.deselectAll(); for(var s in filesToStack){ app.document.select(new Thumbnail(filesToStack)); }; app.document.chooseMenuItem("StackGroup"); };};StackIt();which works liek a charm.Now I want to make sure that in all the stacks, the image with the *DIFFUSE* name component is always shown at the top of
Can image stacks be opened as a layered photoshop document with the help of a script?
I have 43 folders that I'd like to make separate contact sheets from. In total there are about 500x pdfs in there.Is there a way I can create a different contact sheet for each of these folders automatically in Bridge? Or does anyone have a script that can be helpful here?I'm using Adobe Bridge CS6.Thanks allSteve
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Onko sinulla jo tili? Kirjaudu sisään
Eikö sinulla ole vielä tiliä? Luo tili
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.