JsOsaDAS1.001.00bplist00ÑVscript_s// // This script is an example of a script hook handler for Bibdesk. // It shows a dialog with the properties of the script hook // and the cite keys of the publications. // function performBibDeskActionWithPublications(thePubs, { forScriptHook : theScriptHook }) { var theName = theScriptHook.name(); var theID = theScriptHook.id(); var theField = theScriptHook.fieldName(); var oldValues = theScriptHook.oldValues(); var newValues = theScriptHook.newValues(); var theKeys = []; for (var aPub of thePubs) { theKeys.push(aPub.citeKey()); } var app = Application.currentApplication(); app.includeStandardAdditions = true; app.displayDialog("Name: " + theName + "\n" + "ID: " + theID + "\n" + "Cite Keys: " + theKeys + "\n" + "Field name: " + theField + "\n" + "Old values: " + oldValues + "\n" + "New values: " + newValues, { buttons :["OK"], defaultButton : 1 }); }  ‰jscr úÞÞ­