Questions
Recently active
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
A while back you folks pointed out to us that the license language in the top of the library files effectively prohibited distribution. You officially have permission to re-distribute the libraries. We will post new lib files with the correct language; however, that will take some time as there have been updates and a Q/A cycle needs to be run against them. In the mean time, please feel free to take the language at the bottom of this post, and replace the commented licensing language at the top of the library files with it. ADOBE SYSTEMS INCORPORATED Copyright 2005 - Adobe Systems Incorporated All Rights Reserved If this file is provided by Adobe in modifiable form (e.g., source code or JavaScript), then you may modify this file. You may use and distribute this file, in modified or unmodified form, provided that you must reproduce the above acknowledgement and this notice with all copies of the file. THIS SOFTWARE IS PROVIDED BY ADOBE SYSTEMS INCORPORATED AS IS AND ANY EXPRESS O
I am looking for way to create script to copy illustrator files from clients folders and to convert format to jpeg and resize. I tried to use automator but without success only allowed me to select direct files not folders with files inside. I have saved my files to by contracting company and then put their clients into folders with graphics files mainly Illustrator and Photoshop. I need to resize them for use in data base program which is not able to handle large file sizes of so many files. Any help would be greatly appreciated. Thanks, Kevin
I'm interested in various approaches to controlling workflow with a view to conserving system resources. Say you have a typical situation where you are going to collect a list of files in bridge and then process that list in Photoshop. Imagine that the number of files could be quite large, 1000, even 10,000. There are various ways of working with this. Easiest is probably (I): 1. Collect files in Bridge. 2. Send them over as myFiles.toSource() in a string and regenerate them as soon as they arrive via BridgeTalk. 3. Process targets one after the other in PS. Given File Objects are more complex than a string, the next variation (II) would be the same only send the files as just the fullName string, and regenerate one at a time in PS for each iteration. This is pretty efficient as it is just a moderately long string being held in memory most of the time. A quite different approach is to collect the file addresses in Bridge and send them over for processing in PS one at a time (so
I have downloaded a script for Bridge from Studio Exchange and need to install it. I have placed the start up .JSX file in the library>application support>adobe>startup script and the script doesn't work. I'm not a programmer and the reference document http://www.adobe.com/products/creativesuite/pdfs/bridge_javascript_ref.pdf is not much help to me. Any suggestions? Thanks, Siamack
Is it possible to add new events to a windows control? For example, I have created a dialog, and while processing code outside the dialog I want to sent the dialog a message. If I could create a new onXXX event handler, then I could invoke it. Thanks in advance Rory
Hi, I am facing some problems in Adobe Bridge and i need help. I would like to access some database eg. My SQL, and access the data from it by firing a SQL query, How can i do this through JavaScript on Bridge? Also, could i open a url from within Bridge using JavaScript code?, Is there any way i can access some webservice through JavaScript on Bridge and capture the response if any?. Thankyou. Regards Joji Varghese.
Hi, I am new to Bridge and i am using JavaScript. I am not able to include any java libraries like java.util.StringTokenizer or java.sql etc. I do not know if i can do this here. Also does someone know how to execute an AppleScript file from my current javascript code, and, can i execute some executable or access a shared library from javascript using extendscript toolkit? Thanks in advance. Regards Joji Varghese
I have a Bridge script that loops through a series of files calling a PS script method that does some processing. Can I abort the PS processing via ESC? Apparently not. It would be nice if an unconsumed ESC at least signalled an error on the next Javascript statement. (Even better would be consistency in PS native methods aborting with ESC.) If I catch an error in the PS script, how do I reflect the error to Bridge? I'm guessing that the Bridgetalk sends I'm using are queued such that PS and Bridge are uncoupled. If I get a PS error how do I flush the queued Bridgetalk messages?
I was just having a look at this and noticed that for me when I use it to run a trivial action in PS from Bridge (just opens selected files and leaves them open) it is opening the selected files PLUS one other file that is not selected. The file it is opening is always the same one and this persists even after opening and closing Bridge - so I would guess it is something happening either at the scriptstore level or within the core of PS / BR itself. It is not a problem with the Bridge selection list since I tested for this with my own batch process scripts and got the expected results. Andrew
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.