I've been trying to work out how to have a helper application create or update image files, and have them automatically added back into the current catalog. While the means to get the file back into the catalog exists, the only way to find the file has been created/updated is to poll the filesystem at regular intervals to try to detect the change. This brute force approach is resource intensive and slow so I'm looking for a better way.
var gBridgeTalkID = 'lightroom-2.0';
status = photoshop.openFromLightroom( filename, null, gLightroomDocID, gBridgeTalkID, gLightroomSaveParams, DialogModes.NO );
PS I've lodged a feature request to have this included in the documenation for the next SDK release.