Connect with our global Bridge Community.
Nyligen aktiv
Is there any documentation on using external libraries with ExtendScript (calling conventions etc)? Also, I've been studying the Stock Photo code a bit and have come across the ExternalObject class - is there any documentation on what this is? Thanks, -liam
Is there a script or batch command I may be missing that will Append the IPTC info to processed TIFFS from XMPs of the same name (in another directory) in witch the XMP info was created by entering IPTC info for RAW files in Bridge?. As it stands now I have to manually do this one by one using "File Info" if the RAW file was converted with another converter other than Camera RAW or I want to update the metadata (catalog) after the fact because of a time crunch.
I'm not sure how to report this, but there's a bug in the Image Processor script that was driving me nuts so I figured out how to patch it. This may be a Windows-only bug (I'm not sure). The problem is that the when you bring up either of the directory pickers for changing the directories in the Image Processor dialog, they both default to the Windows desktop rather than the path that the dialog shows. Since the Windows desktop is a long ways away from where I keep my images, tihs is a lot of mouse clicks to set this directory everytime I want to use it. There is an attempt to pass the directory picker a starting directory, but that code is just wrong. This occurs in two places in the Image Processor. To fix it, I replace this line: var selFolder = Folder.selectDialog( strPickDest, this.parent.parent.destLongText ); with this line: var selFolder = Folder.selectDialog( strPickDest, d.destLongText); and now the directory picker starts out where it's supposed to and it's a lot quicker
I have a flash runtime for displaying pictures that reads the filename, thumbnail filename and a description of the picture and it reads the information from an .xml file. What I would like to do is type in a description of each picture using metadata in bridge, highlight the pictures I want (in the order I want them in) and have bridge perform the following tasks. 1. Resize them to the size I specify. 2. Create a small thumbnail of it (again at a specified size). 3. Create and populate an .xml file with the information described above for each picture selected. I am quite sure 1 and 2 should be fairly easy, but don't know if #3 is even possible. Does anybody have any bright ideas?
I am running a remote script from bridge that opens a complex dialog in photoshop. I need to run the dialog in photoshop because it displays fonts, styles and actions, which are not available in bridge. When I close the dialog I return to my bridge script. If I repeated open the remote script with the complex dialog I continue to use up resources and the dialog opens more slowly each time. If I run the remote script directly from the ESTK I still lose reources and it slows down, but not as significantly as when run as a remote script via bridgetalk. I think this is caused by inner functions in my dialog, which are creating closures, which in turn are preventing garbage collection. Has anyone experienced this and do you have any tips to prevent the performance degradation?
Is it possible to call a bridge script from an external app (e.g. iView?). If so, how. I presume I need to instantiate the Bridge app object, but I can't get my head around how to do this from an external Jscript. regards Gareth
After several hours attempting to add a progress palette to my scripts, I've concluded that there is no way to get the palette to completely display. The box is drawn, as is the Cancel button, but the background, static text and progress bar are not show, and the Cancel button is not sensitive to clicks. I've tried inserting hide() and show(), insert waits, etc. to no avail. I suspect that the redraw thread isn't even being run while my onClick command function is running. Is there a method that will force redraw that I can put in my processing loop? How do I make the palette have focus so the button click will work? Is the thread model for scripting documented anywhere? Perhaps it would be better for Adobe and its customers if "Extend"Script were open sourced?
I have an advanced JavaScript Question! As i learned it is possible to add new Functions to existing objects: Column.prototype.isEmpty = function() { ... } but how can i add a new property to a existing object??? For Example i want to add a new "minimumWidth " Property to the InDesign "Column" object. I have tried something like: Column.prototype.minimumWidth = 0; // var col = ... Get a real Column object from selection ... col.minimumWidth = 100; alert( "Column: " + col.minimumWidth ); This code gives the following Error (in InDesign CS2): "Error: Object does not support the property or method 'minimumWidth'" The above Code is valid ECMA JavaScript! Any Help??? Thanks Tilo
On some of my scripts, the ESTK thinks the script is still running after it should have terminated. The only ways I can terminate the script in the ESTK are to start editing (a dialog appears, asking me if I would like to stop the script) or to change the target application dropdown to another application. Clicking on the Stop button does not do anything. Is this a known bug in the ESTK or am I doing something wrong in the script? If the latter, are there any common causes for this behaviour? Thanks Rory
This is so basic but I haven't found my way round it yet. function mytest() { var bt = new BridgeTalk (); var theScript = "alert('Hello World');"; bt.target = 'photoshop'; bt.body = theScript; bt.send(); } mytest(); If I want Hello and World on different lines I would expect the following to work but it doesn't, in fact it kills the script. var theScript = "alert('Hello\nWorld');"; I have tried various things like \\n and reversing the ' and " - so far no progress. Andrew
I have been working with metadata scripting for a while and I have noticed several things that don't work as I expect. Anyone know what I might be doing wrong or know whether this is just the way things work? 1. It seems that the metadata object does not support reflection, md.reflect.properies returns an invalid object. 2. Camera Raw settings can not be read, for example alert(md.Tint) shows nothing. 3. The metadata panels continue to show the old data after my script changes them. File Info... shows the changed data. Is there a way to force the panel to update? Here is a simple script to show what I mean (1 and 2): newMenu = new MenuElement("menu", "Meta", "after Help", "mySimpleMenu" ); theMenuItem = new MenuElement("command", "test", "at the end of mySimpleMenu", "mySimpleItem"); theMenuItem.onSelect = function() { md = app.document.thumbnail.metadata; md.namespace = "http://ns.adobe.com/camera-raw-settings/1.0/"; alert("Tint = " + md.Tint); alert("RawFileName = " + md.Raw
I have PS plugin that I wrote for using it in PS 8&9. Now I want to call this plugin from bridge, is it possible?
Since upgrading to 1.0.3, I get this alert every time I launch Bridge. There is a problem with your Internt connection. Please check that you are connected to the Internet and please try again." I am definitely connected to the Internet and there's nothing wrong with the connection when this happens. Any way to get it to stop? WinXP Illy CS2 installed, none of the other suite. Thanks in advance, T Toomey
Is there a built-in way to script for variations in folder name according to the Adobe app language. For example, the folders 'Presets' and 'Scripts' in Photoshop have (I believe) different names in different language releases of Photoshop. Is there a built in method for dealing with this (ie that will convert an English string to a German string etc). I had a look at the localize function and it seems to me that you have to supply the string yourself, but perhaps I am not grasping it correctly. Andrew
I have successfully implimented a BridgeTalkLongProcess from the AdobeLibrary1. In my application the user can select the thumbnails in bridge and then run an extensive processing routine in photoshop, with the status palette showing the progress. This can take a long time, and the user may decide to stop the process. I have over-ridden the BridgeTalkLongProcess.prototype.send function to change the progress palette cancel button text from 'OK' to 'Cancel'. If I click on the palette progress cancel button while the script is running the progress palette does close, but the script continues to process the file queue in photoshop. What I do not know how to do is send a message from bridge to photoshop to cancel the photshop script if the user clicks on the progress palette cancel button. I think I will have to over-ride the progressDialog function and create another bridgetalk message to send a cancel order back to photoshop, where I can set a global cancel flag. In my photoshop remo
I must to read Dimensions and others extraMetadata of images. How I have to use "metadata" property of a thumbnail? thanks Ivan
Hiya Bob (assuming this is your script) I am finding with CR2 raw files that Bridge is freezing when I choose this option , even for small numbers of files eg 3. It may be the extension, I had to make one change in the script to work with CR2 in the first place, maybe it needs changing elsewhere. I am interested in how the script actually does that writing to the XAP metadata, especially for raw files. I found the place in the script (around line 1377) - though I cannot see any raw file handling there. Do you know if PS can do the same - it looks to me like it cannot. Andrew
I would like to call InDesign script interface from Bridge Script. Is it possible? Thanks for your help.
I am seeing a new error from my startup script...can anyone give me assistance... mac os 10.4.3..... error with adobe file...........adobelibrary2.jsx line 220: throw localize ($$$/was/store/err3=errr reading storage information: file not found") to view a photo of the message http://domphoto.com/errorphoto.png
I am updating the progress palette window for each file executed using the fileIterator code that Bob was kind enough to provide. I am updating the status text with the name of each file. This works the first and second time, but on the third iteration I am getting the error: Processed ( 0 😞 2005-01-12_0026nanaimo%20second%20growth.jpg Processed ( 1 😞 20050104_0004.jpg {LiveObject("StaticText").property(0x027f9a58)} is undefined When I look at the statictext member it no longer has a text field in the data browser. Has anyone encountered this type of error?
My client has provided hundreds of Word documents that have embedded images in them (along with text to serve as a legend). I'm uncomfortable at the thought of working with these images as embedded images in InDesign -- for one thing, I might need to touch-up some of them -- so I'm thinking that this is a job for a bridging script. Although maybe it's really just one or more InDesign scripts with one of them passing off a script to Photoshop. I'm thinking that the Photoshop script will just create a new document from the clipboard and save it in a specific folder with a specific name, both provided in the script. So, that ought to be dead easy. I don't even want it to pass a "done" message back to InDesign, although I suppose I need to watch out if I'm using the clipboard as a mechaism for passing information -- I don't want InDesign passing the next request before the first clipboard has been processed, for example. But since InDesign knows where the file is to be saved, it can wa
I'm trying to find where Bridge save the preview images of thumbnails and the preview displayed in Preview Pane. Is it possible to export these images? thanks Ivan
Hi, everybody, I can run this script in indesign cs2 very well, But now I went to get the target running script is OK or No, and When it completed, Now I would like those info. send back to the sender, then do some otherthings. So, help me how to get those infors, include the errorMsg. Thanks advanced! jxswm //======================================================= //RunScript //Usage: //Define the scriptEnum and runTargetScript(scriptEnum), all is OK! //Set the scriptEnum.scriptStr = null, will do not run the ScriptString; //Set the scriptEnum.fileURI = null, will do not run the ScriptFile; //Set the scriptEnum.isRunTargetApp = true, will run the target program before run the script; //Set the scriptEnum.isBringToFront = false, will not bring the target program 's main window //is not brought to the front of the screen. //eg: //In indesign CS2, run below script, you can see the result do{ var scriptEnum = {}; scriptEnum.senderAppName = "indesign"; scriptEnum.targetAppName = "b
With Photoshop, activeDocument.xmpMetadata.rawData will give me a string that contains an images metadata. From that I can extract what I want. Is there a way of achieving something similar with Bridge. Ideally I would like the same again, a string containing everything. If that is impossible perhaps a series of strings for each namespace? And, a way of reading those namespaces without knowing what they are in advance? I can see ImportCamera is doing something along these lines (for example - in the rename dialog it seems to be generating the dropdown metadata namespace list eg IPTC, or EXIF on the fly - at least I can't find the source text 'IPTC'). It would be very helpful to have a direct way of obtaining all of an images xmp metadata without having to make specific requests as to namespace and identifier and without having to open the image in PS. Andrew
All my Adobe products are pre-CS/CS2 and I don't yet have access to Adobe Bridge. My trial copy has also timed out. However, I would like to know if Bridge has the capability to take a folder of images (Canon Raw) and move them to new folders based on the original exposure date as stored in the Exif metadata (ideally creating the required target folders automatically). I'm thinking in terms of one folder per year, probably with subfolders for each month. I'm simply trying to avoid having all my images in a single humongous folder with Bridge re-creating (or at least re-displaying) thousands of thumbnails every time I just want to look at a few images. Sorting them into folders by date just seems a simple solution to that problem. However, I'd be very happy to hear about alternative image filing ideas. Once I have used Bridge to create extended metadata for image categories, etc, I'm also assuming that Bridge will let me search for images that match defined criteria no matter how man
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.