Skip to main content
Participating Frequently
June 23, 2005
Question

Script listener for Bridge?

  • June 23, 2005
  • 2 replies
  • 665 views
Sure would be nice to have a script listener plug-in for the Bridge.
Is there one available?

Larry
This topic has been closed for replies.

2 replies

Known Participant
June 24, 2005
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
Participating Frequently
June 25, 2005
Thanks Bob.
Known Participant
June 23, 2005
I apologize for brain density this morning. What exactly are you looking for? What would it do?

Bob
Adobe WAS Scripting
Participating Frequently
June 23, 2005
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