Skip to main content
Participating Frequently
Jun 23, 2005 9:23 AM UTC
Question

Script listener for Bridge?

Sure would be nice to have a script listener plug-in for the Bridge.
Is there one available?

Larry
This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Known Participant
Jun 24, 2005 2:39 PM UTC
There is nothing that I know of in existance. I'll make sure the right people know of the feature request.

Bob
Adobe WAS Scripting
Translate
Participating Frequently
Jun 25, 2005 2:31 AM UTC
Thanks Bob.
Translate
Known Participant
Jun 23, 2005 1:30 PM UTC
I apologize for brain density this morning. What exactly are you looking for? What would it do?

Bob
Adobe WAS Scripting
Translate
Participating Frequently
Jun 23, 2005 3:18 PM UTC
Bob,
It is a plug-in that comes with Photoshop. You can put it in the plug-in folder. In Photoshop CS2 it is "ScriptListener.8li".
In Photoshop, it generates JavaScript and Visual Basic code whenever you perform a function. The code is written to a log file that
you can cut and paste into you script. It is a way of getting code for functions that are not included in the JavaScript
implementation for Photoshop.

Here is an example of Fit image on screen:

var id57 = charIDToTypeID( "slct" );
var desc15 = new ActionDescriptor();
var id58 = charIDToTypeID( "null" );
var ref6 = new ActionReference();
var id59 = charIDToTypeID( "Mn " );
var id60 = charIDToTypeID( "MnIt" );
var id61 = charIDToTypeID( "FtOn" );
ref6.putEnumerated( id59, id60, id61 );
desc15.putReference( id58, ref6 );
executeAction( id57, desc15, DialogModes.NO );

It is very useful in Photoshop. It would be great if it were available in Bridge for the writing of JavaScript scripts.

Larry
Translate