This file contains hidden or 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
tell application "Keynote" | |
tell document 1 | |
set theSlides to slides | |
repeat with s in the slides | |
tell presenter notes of s | |
set font to "Helvetica" | |
set size to 24 | |
end tell | |
end repeat | |
end tell |
This file contains hidden or 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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# codercase.py | |
# | |
# 2014-08-28 by Derick Fay | |
# | |
# based almost entirely on jdc0589's CaseConversion plug-in for SublimeText: | |
# https://github.com/jdc0589/CaseConversion/blob/master/case_conversion.py | |
# |
This file contains hidden or 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
(* COPY CURRENT PAGE OF SKIM PDF TO CLIPBOARD | |
-- created by Stephen Margheim | |
-- 06 July 2013 | |
-- open source | |
edits by Derick Fay 2013-09-05: | |
-- edited to use clipboard | |
-- optimized for Alfred workflow to bypass Reference/Inline dialog box | |
-- 2013-09-11 modified to just add (page) and paste |
This file contains hidden or 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
# tp2fantastical | |
# | |
# by Derick Fay, 2014-04-06 | |
# | |
# an adaptation of the Selection to Fantastical Editorial workflow | |
# (http://editorial-app.appspot.com/workflow/6172238982152192/Y3VYajI3Hzc ) | |
# for use with Drafts and Pythonista (both required) | |
# | |
# works on iPhone and iPad | |
# I have also written an equivalent script for TaskPaper for the Mac |
This file contains hidden or 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 ALL SKIM NOTES TO THE CLIPBOARD WITH MARKDOWN REFERENCE LINKS | |
(no longer) requires hackademic URL handler from github user smargh | |
entirely rewritten to take advantage of Skim's built-in templating | |
2016-06-26 by derickfay | |
*) |
This file contains hidden or 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
// UI Scale | |
@base-font-size: 16; | |
@user-font-size: $USER_FONT_SIZE; | |
@ui-scale: @user-font-size / @base-font-size; | |
// UI Colors | |
@tint-color: rgb(173,216,230); | |
@handle-color: black; | |
@collapsed-color: red; |
This file contains hidden or 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
-- original by Stephen Margheim | |
-- edited by Derick Fay, 29 Aug 2013 | |
-- copies to clipboard | |
-- uses Cite Key rather than title as link text | |
-- Displays Cite Key as well as Title in selection dialog | |
-- (I use Author-Date cite keys, & tend to think of publications as Author Date references rather than titles…) | |
display dialog "Get Link of selected item or choose other item?" buttons {"Get Selected", "Choose Other"} default button {"Get Selected"} | |
--Get Markdown formatted info for selected item |
This file contains hidden or 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
tell application "DEVONthink 3" | |
set theBases to databases | |
set theList to {} | |
set myitems12345 to {} | |
repeat with b in theBases | |
tell b | |
set theRecs to (every record whose type is group) & (every record whose type is smart group) | |
repeat with r in theRecs | |
set title to {title:name of r} |
This file contains hidden or 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
tell application "System Events" | |
click menu item "Merge All Windows" of menu "Window" of menu bar item "Window" of menu bar 1 of application process "Finder" of application "System Events" | |
end tell |
This file contains hidden or 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
[ | |
{ | |
"BTTTouchBarButtonName" : "P", | |
"BTTTriggerType" : 629, | |
"BTTTriggerClass" : "BTTTriggerTypeTouchBar", | |
"BTTPredefinedActionType" : 172, | |
"BTTPredefinedActionName" : "Run Apple Script (blocking)", | |
"BTTInlineAppleScript" : "tell application \"BetterTouchTool\"\r\t(* light purple *)\r\tupdate_trigger \"625CCE43-9BF7-403E-8AEF-331CA96BBD0E\" json \"{\\\"BTTTriggerConfig\\\":{\\\"BTTTouchBarButtonColor\\\" : \\\"204,102,255,100\\\"}}\"\r\t(* dim yellow *)\r\tupdate_trigger \"701399EC-B8BF-472D-8A2E-4F9FB5F01F75\" json \"{\\\"BTTTriggerConfig\\\":{\\\"BTTTouchBarButtonColor\\\" : \\\"0,0,0,20\\\"}}\"\r\t(* dim green *)\r\tupdate_trigger \"E395E5B6-E655-47EA-BDD1-F6BE0086BE3B\" json \"{\\\"BTTTriggerConfig\\\":{\\\"BTTTouchBarButtonColor\\\" : \\\"0,0,0,20\\\"}}\"\r\t(* dim text selection *)\r\tupdate_trigger \"E5BDF354-1D20-414A-A7B8-A2861F299A3B\" json \"{\\\"BTTTriggerConfig\\\":{\\\"BTTTouchBarButtonColor\\\" : \\\"0,0,0,20\\\"}}\"\r\t(* dim underline *)\r\tupdate_trigger \"EC62F039-63 |
NewerOlder