Revision: 25108 http://sourceforge.net/p/bibdesk/svn/25108 Author: hofman Date: 2020-11-29 16:06:18 +0000 (Sun, 29 Nov 2020) Log Message: ----------- Add scripting property for item URL
Modified Paths: -------------- trunk/bibdesk/BibItem+Scripting.m trunk/bibdesk/Scripting/BibDesk.sdef Modified: trunk/bibdesk/BibItem+Scripting.m =================================================================== --- trunk/bibdesk/BibItem+Scripting.m 2020-11-29 07:31:20 UTC (rev 25107) +++ trunk/bibdesk/BibItem+Scripting.m 2020-11-29 16:06:18 UTC (rev 25108) @@ -495,6 +495,10 @@ } } +- (NSString *)scriptingURL { + return [[self bdskURL] absoluteString]; +} + /* ssp: 2004-07-11 Make the bibTeXString settable. Modified: trunk/bibdesk/Scripting/BibDesk.sdef =================================================================== --- trunk/bibdesk/Scripting/BibDesk.sdef 2020-11-29 07:31:20 UTC (rev 25107) +++ trunk/bibdesk/Scripting/BibDesk.sdef 2020-11-29 16:06:18 UTC (rev 25108) @@ -1147,6 +1147,10 @@ description="Crossref parent of the publication."> <cocoa key="scriptingCrossrefParent"/> </property> + <property name="item URL" code="iURL" type="text" access="r" + description="A URL for the publication."> + <cocoa key="scriptingURL"/> + </property> <element type="author" access="r" description="Authors of the publication."> <cocoa key="scriptingAuthors"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit