Skip to main content
Known Participant
July 15, 2007
Question

AdobeLibrary1.jsx - current status?

  • July 15, 2007
  • 11 replies
  • 1587 views
Can anyone tell me if the adobelibrary scripts written by Bob Stucky are still being maintained by adobe and whether they are supposed to work with CS3. I understand adobe made changes to bridgetalk...

A script (CS2) I wrote using the bridgetalk functions in adobelibrary is not functioning properly in CS3. I have not investigated closely, but the problems I am encountering involve switching the focus between Bridge dialogs and photoshop and back again. As I mentioned, the code worked fine in CS2.

Thanks
Rory
This topic has been closed for replies.

11 replies

July 15, 2007
Rory

AdobeScriptLibrary1.jsx was not ported to CS3.

Having learned a bunch in the CS2 development process, we trimmed the library down to some core functionalities and renamed it to WasScriptLibrary.jsx (because its applicability was directly related to the workflow scripts). It's in the Bridge CS3 Extensions folder under Workflow Automation and Resources.

BridgeTalkIterator and BridgeTalkLongProcess are both in there, and updated for CS3. The namespaces have changed to protect the innocent.

WasLib.BridgeTalkLongProcess
WasLib.BridgeTalkIterator.

From recollection (the port was done about a year ago), the functionality and interfaces are the same for the iterator, but the long process class uses a factory method.

var btlp = BridgeTalkLongProcess.factory(... parameters... );

Have a look at the new lib, tho. There's some really handy stuff in there. You'll need to update your scripts to new namespace (WasLib) or copy the new classes from the library to make your own (with the old namespace).

Sorry it wasn't backward compatible, but we did need to fix the structure of things to head forward after CS3.

Oh, and look at the WasLib.Preferences() class in the new lib. Makes saving a set of name-value pairs to disk a snap.

Regards

Bob