This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Export to Devonthink without extra OCR within Devonthink (Script written by Benjamin Zeiss) | |
on run argv | |
if (count of argv) is greater than 0 then | |
repeat with theItem in argv | |
tell application id "DNtp" to launch | |
try | |
set thePath to theItem as text | |
tell application id "DNtp" | |
set theRecord to import thePath to incoming group | |
end tell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enum { | |
NSModalResponseStop = (-1000), // Also used as the default response for sheets | |
NSModalResponseAbort = (-1001), | |
NSModalResponseContinue = (-1002), | |
} NS_ENUM_AVAILABLE_MAC(10_9); | |
typedef NSInteger NSModalResponse NS_AVAILABLE_MAC(10_9); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// BBMyWindowController.m | |
// StacksCollection | |
// | |
// Created by Benoît Bourdon on 27/04/12. | |
// Copyright (c) 2012 Creaceed. All rights reserved. | |
// | |
#import "BBMyWindowController.h" |