Revision: 22662
http://sourceforge.net/p/bibdesk/svn/22662
Author: hofman
Date: 2018-09-24 15:57:57 +0000 (Mon, 24 Sep 2018)
Log Message:
-----------
really get subject ae descriptor attribute
Modified Paths:
--------------
trunk/bibdesk/BDSKAddCommand.m
trunk/bibdesk/BDSKRemoveCommand.m
Modified: trunk/bibdesk/BDSKAddCommand.m
===================================================================
--- trunk/bibdesk/BDSKAddCommand.m 2018-09-24 15:55:17 UTC (rev 22661)
+++ trunk/bibdesk/BDSKAddCommand.m 2018-09-24 15:57:57 UTC (rev 22662)
@@ -87,7 +87,7 @@
if (locationSpecifier == nil) {
// get it from the subject of the event when it was not given
- locationSpecifier = [[self appleEvent] objCObjectValue];
+ locationSpecifier = [[[self appleEvent]
attributeDescriptorForKeyword:'subj'] objCObjectValue];
if ([locationSpecifier isKindOfClass:[NSScriptObjectSpecifier
class]] == NO)
locationSpecifier = nil;
}
Modified: trunk/bibdesk/BDSKRemoveCommand.m
===================================================================
--- trunk/bibdesk/BDSKRemoveCommand.m 2018-09-24 15:55:17 UTC (rev 22661)
+++ trunk/bibdesk/BDSKRemoveCommand.m 2018-09-24 15:57:57 UTC (rev 22662)
@@ -85,7 +85,7 @@
if (containerSpecifier == nil) {
// get it from the subject of the event when it was not
given
- containerSpecifier = [[self appleEvent] objCObjectValue];
+ containerSpecifier = [[[self appleEvent]
attributeDescriptorForKeyword:'subj'] objCObjectValue];
if ([containerSpecifier
isKindOfClass:[NSScriptObjectSpecifier class]] == NO)
containerSpecifier = nil;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit