Connect with our global Bridge Community.
Actividad reciente
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?
Hello, I created a little script which extracts metadata from a selection and stores it in a string. Now I just would like to save the string in a text-file in the current foldert, but ... any hint would be very kind. // test string myText = "save this"; // create new File myFile = new File("test.txt"); // write into the file myFile.write(myText); and close it myFile.close(myText); thanks pepe
I am unable to load the dictionary for Bridge from my script editor to see what capabilities I have to use applescript with bridge. I am assuming that this is because, for some reason, adobe has made it so that Bridge is not applescriptable. Could this possibly be true? I am building a script that transfers all of my photos from my CF card as soon as it is mounted, transfers the files to a "temp" folder and then deletes the images off of the card and ejects the card. I have the "Temp" folder as one of my "favorites" in bridge and am simply hoping to gain access to that file while the transfer process is taking place so that I have a preview of the photos WHILE they are being transfered. (I want to use bridge instead of iPhoto obviously, but using the basic iPhoto functionality) Without any scripting dictionary for bridge for applescript, I am unable to see how to select that folder in my "favorites" panel. I am able to "activate" bridge and bring it to the front, but that is simply
I must admit I was a little confused when I first looked at Bridge scripting. I had some background writing photoshop scripts. This forum is an excellent resource to supplement the documentation. Anyway, I have figured out everything I needed to port a script from photoshop that creates subfolders in the current active bridge folder, opens a dialog to get resizing and beveling parameters, applies those parameters to resize and bevel the selected bridge thumbnails and saves the jpgs in the subfolders. Bob - thanks very much for your help getting me pointed in the right direction. I even have the ESTK working. You are the man! Rory
I want to get all files of a directory or from the selected thumbnails, - which are flagged (red, green, ...) - rated, e.g. with 3 or more stars How is this possible? As written in the Bridge Script documentation the metadates should contain this information. But flag is always empty. I use the standard preferences (red color have 'red', green color have 'green', etc.). Bye, Norbert
I am a javascript beginner and while there is a lot of technical info in the Bridge JavaScript Reference, there are very few examples. I could really use a few good examples of how to apply js to Bridge. Is there someplace where folks are posting their scripts for bridge yet? Or perhaps some of the experts could post a few more examples here for us noobs?
The URL: http://www.adobe.com/products/creativesuite/indepth.html Happy Scripting! Bob Adobe Workflow Automation Scripts
Greetings, I see that there is a similar post that asks my question, but I would like to take it a step further. I want to export data from images that I have selected to an XML. If I highlight the images and choose tools>photoshop>web photo gallery>flash-gallery, I have the option to output these files and have SOME of the data recorded exported to XML. Now, there are two problem with that: 1) in order to generate a very small XML file, I have to process dozens and dozens (depending on what I want) RAW images. I ONLY want to export the XML file 2) the XML file OMITS some data I want included, and includes some data I want omitted. There must be a way to harness what Bridge has built into it here to export the data I want to XML. Does anyone know what language, or how, to implement code that does exactly what Bridge does? I want to be able to process the XML without the images and include other data that the "info" boxes carry. Any help, even if it means pointing me to th
Last night I created a bridge script that sends a message to photoshop to open a certain file. And it worked. This morning I rebooted and it doesn't work. I get an error message saying that BridgeTalk has no constructor?!? Then I tried photoshop.executeScript, but I'm told that photoshop is undefined. How did my Bridge lose its connections to my other apps? Is there a way to get them to relink themselves? I'm very perplexed. -Rich
Hi all, I'm wondering if anybody has had any experience working with Sockets in Bridge and can explain some odd behaviour that I am seeing. I am implementing a simple mechanism for retrieving a file from a remote server using HTTP (GET). With the request, I noticed that if the connection is opened using the default "ASCII" encoding, Socket.write does not send any CR characters. ie. sock.write("GET /foo/bar HTTP/1.1\r\n"); sends the message "GET /foo/bar HTTP/1.1\n". With the "binary" encoding, everything goes through ok. Is the behaviour that I am seein for ASCII correct? I do not believe that \r should be dropped. With respect to the response, I am trying to read the data line by line using Socket.readln. The first read will retrieve the status line HTTP/1.1 200 OK but I can't read anything else (regardless of connection encoding). After readln is called, socket.connected becomes false (expected - the server sends all data and a normal TCP connection shutdown occurs; I've ver
I searched the forums for an answer to this, but didn't find any yet. I am attempting to do the following: Folder of .CR2 files on the desktop Import to another directory, renaming and appending metadata in the process. I'm on OS X, 10.4.4. Whenever I run the script, it presents a dialog box that says "Import Complete" yet nothing has been renamed, appended, or moved to the new directory. I've downloaded the most recent version I could find. It worked fine with .CRW files, but not .CR2 files. Anyone else experiencing this problem?
HI all. This is the code for creating a simple dialog window, but when I display this window, it is empty. Someone can tell me what's wrong ? thanks Ivan var myWin = new Window('window', 'Title', [100,100,400,300]); myWin.msgPnl = myWin.add ('panel', undefined , 'Available models'); myWin.msgPnl.titolo = myWin.msgPnl.add('statictext', undefined,'Select your model'); myWin.radio_1 = myWin.add('radiobutton',undefined, '2 X 3'); myWin.radio_2 = myWin.add('radiobutton',undefined, '3 X 5'); myWin.radio_1.value = (true);
Here is a sample script that creates a menu item in the context thumbnail menu in Bridge. You save this script as a jsx file and place it in your StartUpScripts folder. When this script runs, the debugger halts at the debugger statement, the line is highlighted in yellow and the cursor is frozen at the start of the line (it does not blink). About 3 seconds later the ESTK crashes. Could someone else please try this on their computer to see if you can duplicate this behavior. Any suggestions would be most appreciated. Thanks. Here is the script: #target bridge $.level = 0; if ( BridgeTalk.appName == "bridge" ) { // only load into bridge > // create menu > var cmdMenuShell = new MenuElement('command', 'Menu shell ...', 'before Thumbnail/Cut-'); > // execute menu > cmdMenuShell.onSelect = function() { >> $.level=1; debugger; >> alert("Hello Menu shell"); > } }
Perhaps it should be documented that File.remove() does not delete the corresponding .xmp file. I think it can be argued that removing the xmp is more correct than leaving the sidecar there.<br /><br />This leads to problems when subsequently renaming some other file (with .xmp) to the name of the deleted file. The rename gets an error, claiming the file exists but not mentioning that it is the invisible .xmp that actually exists.<br /><br />Then, oddly, ESCing from the error dialog actually does rename the file, but renames the corresponding .xmp as <name>(1).xmp -- attaching the wrong sidecar to the renamed image.
Hi there, I'd like to be able to script/set the Bridge to browse images by Alpha Channel rather than RGB (I have lots of images with similar RGB but unique Alphas). Does anyone know if this would be possible or where to start? Thanks in advance for any help. Karl
Hello, I wrote a script to display and select a inDesign library in Bridge. The script starts up bridge if it is not already running. If bridge is running, is there a way to pop up the application window? Something like: app.focus()? thank you, Georg
Am I correct in assuming that Cross-DOM API calls presume the target application is running? That is, these calls are not out to a "shared" library so to speak, but actually communication between two running apps. Assuming that is the case, is there any way, within Bridge itself, to do simple manipulations on files, such as scaling, and file type conversion. Am I required to have photoshop running to do this?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.