Questions
Recently active
Hi, Is there documentation and/or simple example somewhere that calls C++ code from ExtendScript and to call ExtendScript from C++? Thanks for any help.
Dear All, I am in the process (start) of creating a massive image library... At the moment I am sorting images into the companies divisions and then assigning key words to the images & metadata to some (if known). What I need is a script that will write the old file name in the metadata because once I have the image library up and running all the images file names will be renamed to a sequential numbering system so if you wanted to find an image based on the old file name (say that Indesign or Quark is linked to) you will be able to locate this. if anyone can help or even point me in the right direction, that woud be great ;p amy kane.
My purpose is to execute InDesign script and pass the control to Bridge and execute it´s script and then get the control back to InDesign. The #target "bridge" directive is not enough. I am looking similar to "tell application "xxx" " in AS where you can easily jump between applications. When I am running the following lines I am getting error as I think I am still talking to InDesign instead of Bridge. The error is pointing to line after the #target "bridge" directive. My InDesign CS2 script "ExecuteBridge.jsx" contains just following line: app.doScript( File("Macintosh HD:ChangeColorOfLabel.jsx")) and the file "ChangeColorOfLabel.jsx" contains the following (this works well if driven in ExtendScript editor, but gives error when saved as file to be executed): #target "bridge" var sels = app.document.selections; for (var i = 0; i < sels.length; i++) { var thumb = sels; var md = thumb.metadata md.namespace = "http://ns.adobe.com/xap/1.0/"; md.Label = "Green"; } I would be v
Script which is just changing the the color of the lable of selected thumbnail(s) (eg. from red to green)? regards Erkki
Our company currently has all the Adobe CS2 products but as stand alone applications and not part of the Creative Suite. Therefore, we don't seem to have all the functionality of the suite. In particular the script to create Contact Sheets from Indesign CS2 of items through the script in Adobe Bridge. Can anyone tell me if there is a way to add the functionality of the contact sheet script for Indesign to Bridge without having the Adobe Creative Suite? And Why? We are looking for something to replace an extension used by Quark to create contact sheets from Badia software. I am loath to upgrade this extension unless absolutely necessary. We receave thousands of photo's a week and output contact sheets for our editors to pick and choose which photos they want/like. Thanks in advance. Scott
Hi I am trying to access the camera-specific "Maker Note" metadata that is stored in a JPG image. As far as I can understand, this data is not recognised by Bridge since it is not associated with a standard "Namespace". This is probably due to it being very camera/model specific. Can anyone point me towards the method for accessing this data - even in a RAW/binary format? I do not mind having to interpret and parse this data myself. I am just trying to find a way to actually read the data. Any suggestions are welcome! Regards, Nigel
I am sure that there is a very simple answer to this question, but I have not been able to find anything in the Adobe Javascript documentation on how to copy an image! I have a script that takes a series of selected thumbnails and generates a string that has the "destination" filename and path based on the EXIF date (e.g. NameString = "C:\\Photos\\2006\\2006-08-23\\image01.jpg"). What I would like to do now is to copy the selected image to this new path and filename. The folders may or may not exist. Here is an excerpt from my code: var ImageName = decodeURI(thumb.spec.name); var NewPath = DestPath + "\\" + YearString + "\\" + YearString + "-" + MonthString + "-" + DayString + "\\"; var DestinationFolder = new Thumbnail(Folder(NewPath)); var DestinationImage = new Thumbnail(File(NewPath+ImageName)); thumb.copyTo(DestinationImage); Any suggestions are welcome. Regards, Nigel
I would like to create a script that imports a list of image pathnames and creates a browser window like Find Results with thumbnails for each pathname. So that I could then select all the thumbnails and do some batch processing. The images would be gathered across my file system, i.e. they would not be contained within a single folder. I can't find any documentation or code snippets that would allow one to script a custom Find command. For instance, I imagine that a Document object would need to be created and initialized with an array of thumbnails, but it's not clear how that might be done. Anyone have any ideas?
I've created a new xmp namespace with some metadata in it and I'd like to display only this meta on the main window with a script. This can be done manually with "Edit" - "Preferences" - "Metadata" There is also a Preferences object with an extraMetadata properties but I haven't find how to use it. any idea? Michel
hi, I have build a navbar in bridge with html. Within the html file I need to parse an xml document, to get some global preferences. But the problem is accessing XML via Javascript DOM. I have this scripts that on normal html pages do always work: var xmlDoc function loadXML() { //load xml file // code for IE if (window.ActiveXObject){ xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async=false; xmlDoc.load("./globals/preferences.xml"); readXML(); } //code for Mozilla, etc. else if (document.implementation && document.implementation.createDocument){ xmlDoc= document.implementation.createDocument("","",null); xmlDoc.load("./globals/preferences.xml"); xmlDoc.onload=readXML; } else{ alert('Your browser cannot handle this script'); } } function readXML(){ alert(xmlDoc.getElementsByTagName("value")[0].firstChild.nodeValue); } But within bridge I always get the else alert. Is there no XML accessibility via DOM in bridge. What esle can I use, XPath (which I have
Hi everyone I am quite new to Javascript, but have managed to create a script that can modify a metadata tag and also add metadata tags (e.g. create a custom namespace with various tags). I have however not found a reliable way to remove metadata. Sometimes one can delete a metadata tag (and the tag's value) by writing an empty string into it. Other times it leaves the tag name and just deletes the tag value. Does anyone know if there is a simple way to delete a whole namespace (e.g. all the camera-raw settings) along with all the tags? Any suggestions welcome! Regards, Nigel
Hi im looking for a way people can share keywords automaticall like a script that loads the xml file with the keywords i have on my computer so other people can look at it without having to click on any images. If there is another way to do this please tell me.
Hallo, after installing Import from Camera script for Bridge on a Mac , I get an error when I open Illustrator. The error message says: 'b'Error in /Library/Application Support/Adobe/StartupScripts/ImportCamera_BR.jsx 'b'Line39: ImportCamera.store = ScriptStore.open("$$$ImportCameraStorage"); 'b'undefined is not an object The program seems to start correctly after I click on OK on this error message, but it is a bit annoying. Also I don't know if it has any other consequences. Does anybody know the cause of this and a solution. Thanks a lot. Giorgio
I have a script that extracts a private tag's data from a tif file and places that data in a custom namespace. It then writes a template xmp file to append to the tif file. Everything works fine until I try to append the template. Then I get an error saying it can't because the file is being used by another process(my script). This is my first bridge script and I'm at a loss as to what I'm doing wrong. The script opens the tif file in read mode and closes it before the code to append. The template file is also closed. Here is the part of the code that does the append. Does anyone know what I'm doing wrong? md = sels.metadata;// sels = an array of selected thumbnails var templateName = xmpName.match(/([^\.]+)/)[1]+""// = the tif filename without the extension md.applyMetadataTemplate(templateName, "append"); Mike
Beyond knowing that such a facility exists, I have no knowledge about Bridge scripting. Can it be used to modify the standard batch file rename process in Bridge? I would like to rename my Canon Raw images with the date (from EXIF Date Digitised) and a sequence number that resets to zero for each new date. This sequence number should accurately reflect the order in which the images were taken (via the time component of EXIF Date Digitised). I would also like to process all files in a subdirectory structure at the same time. The standard Bridge batch rename process does not offer a counter that resets for each new date, nor does it seem to allow processing files in more than one folder at a time. Can this be done? Do such scripts already exist? Alternatively, are there any commercial software utilities that can do this? I am already aware of a freeware solution called DIM but am a little worried about putting my faith in something with no guaranteed ongoing support - a concern that
Is there a way to write an applescript to setup the color management settings for adobe bridge? Deploying tiger and cs2 on 200 computers and would love to automate it with a script. The settings do no seem to stick when you setup a default account using english.lprog
I am scripting in javascript on a Mac OSX machine with Bridge 1.0.4.6. I am trying to execute a Photoshop Javascript file from within Bridge, but I have been, as of yet, unsuccessful. I am attempting to use the photoshop.executeScript command with a string value of the photoshop script, but all that happens is that photoshop comes up and my script is not launched. Inside of my Bridge script, I call the executeScript like this: var file = new File( "~/Desktop/test.jsx" ); file.open( "r" ); var buffer = file.read(); file.close(); photoshop.executeScript( buffer ); And the ~/Desktop/test.jsx file looks like: var file = File.openDialog('Image to test'); var fileRef = new File(file); var docRef = open (fileRef); If you have any suggestions, please let me know. Thank you. Evan Appleby Sony Pictures Imageworks
Hello I am trying to create a new thumbnail view in tabular format (similar to windows explorer "Details" view) with metadata info for each img. It seem the most natural way to do this by displaying "html" in Content Pane. To display anything in content pane, I need to use a new "browse scheme". To create a new browse scheme, I need to create a new thumbnail that would trigger that browse scheme. The trouble is: How do I change to various folders keeping the same new view I am creating ? -Kuntal
I recently updated my Bridge Version from 1.0.1.46 to 1.0.3.106 Now my pretty helpful InDesign Contact Sheet Script I learned from Dr. Brown doesn't work more. In Design opens but nothing happens! I would be thankful for help. Holger
I want to place 100 files with their filenames printed near the images inside a A3 sheet of paper (i only have the script for the file name thing). So i use IndesignContactSheet tool but, what it does is, that it places big files (big as in size dimansions) by shrinking them in order to fit specific bounding box picture box frames. Is there some script that will allow biger sized images to overide those pic boxes (place holders) and be placed among the other images (smaller)? Do i make sense?
Can someone give some advice on setting metadata values within Bridge using javascript? The examples all seem to deal with Text types like the following: md = tn.metadata; md.namespace = "http://ns.adobe.com/photoshop/1.0/"; md.Author = "Jane Smith"; But when trying to set other types, like the "caption" (which gets mapped to "http://purl.org/dc/elements/1.1/description"), the script will throw an exception. md.namespace = "http://purl.org/dc/elements/1.1/"; md.description = "New Caption" -- Uncaught exception description -- I'm thinking this is probably because dc:description is defined as a "Lang Alt" type in the xmp specification which in turn is defined as: "Language alternatives are a form of rdf:Alt array, referred to as the Lang Alt type. In this example, each array item is a simple text value; the value has a property qualifier, specified as the property xml:lang, giving the language of that value. " But no matter how I try accessing this object (there is no "reflect" a
Hi. To start out, I'm a scripting newbie, so I apologize if this is something stupid or obvious. I'm writing a script that allows me to export my ratings to the IPTC Core Keywords field (which I have working successfully), or to the EXIF data as part of the User Comment field. Basically, I'm pushing a string like "3_stars" onto the end of the field, so my ratings are portable across many applications. So it *seems* to run fine, but when I try to view the modified image in Bridge, the Metadata/Keywords panel just has an eternally rotating "working" icon. When I right click on the image, and view File Info... > Advanced, the EXIF has the correct data in it. The relevant portion of my code looks like: if (thisThumb.type == 'file') { var src_meta = thisThumb.metadata src_meta.namespace = "http://ns.adobe.com/xap/1.0/"; if (src_meta.Rating) { // create rating string if (src_meta.Rating != '1') { rating = src_meta.Rating + '_stars'
I am running Adobe Creative Suite 2 Bridge version 1.04 on a Mac OSX and I am getting a very consistent error when I add a javascript file to the StartupScripts directory. Basically, if I put a file in the StartupScripts folder, found at ~/Library/Application Support/Adobe/StartupScripts/bridge/1.0, that modifies the navigation bars or updates the Favorites Pane, then it consistently requires me to reboot Adobe Bridge two times to successfully load the plug-in. On the first reboot, Bridge will display an error message saying, An error occurred while running a script. The script may not be compatible with this version of Bridge. Check for available updates by selecting the Updates command in the Help menu. And no plug-ins will be loaded. On the second reboot, Bridge will display another message saying, There were problems loading a startup script last time Bridge was launched. Would you like to load them now? Then if I press Yes everything will work fine and the next reboot will again
I need help with an effect I would like to do by applying live trace to a folder of images that later will be asembled as a movie in after effects. I'm not a good scriptor and the only way I have been able to get this to work is in bridge using the live type export. This works excellent only I am limited to 10 images at a time which is not good when there are 30 images in 1 second of video. If I want to apply this effect to hundreds of illustrator files is there a better way. Please script experts in adobe land help me. The pay off will be really nice if only I can get it to work. Thanks. -tyler
I have two questions involving Bridge's Metadata. First of all, where is the original XMP Metadata saved after a batch process? Where can it be retrieved? Secondly, is there anyway to make bridge automatically carry over information from one field into another? In other words, can I have 'file name' populate 'job identifier' with out going into some kind of reprogramming?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.