Skip to content

Instantly share code, notes, and snippets.

@anatomatic
anatomatic / Open Bunch.scpt
Last active August 15, 2022 21:13
Open Bunch - Quicksilver Action - AppleScript
-- install in ~/Library/Application Support/Quicksilver/Actions/
-- to add icon: copy the icon from Bunch.app's Get Info panel and paste onto this action
using terms from application "Quicksilver"
on process text _text
tell application "Bunch"
open location "x-bunch://open?bunch=" & _text
end tell
end process text
end using terms from
@anatomatic
anatomatic / 20220523-Quicksilver-2.2.0-Crash
Created May 23, 2022 15:00
20220523-Quicksilver-2.2.0-Crash
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Quicksilver [95916]
Path: /Applications/Quicksilver.app/Contents/MacOS/Quicksilver
Identifier: com.blacktree.Quicksilver
Version: 2.2.0 (4033)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Quicksilver [67992]
Path: /Applications/Quicksilver.app/Contents/MacOS/Quicksilver
Identifier: com.blacktree.Quicksilver
Version: 2.1.0:main-1f4f611:Debug (4032)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
@anatomatic
anatomatic / predawn-DEV.sublime-theme
Created April 18, 2017 20:46
tab height fix + dark window bar for Sublime Text 3127+
[
{
// Title Bar (build 3127+, macOS only)
"class": "title_bar",
"bg": [30, 30, 30],
"fg": [237, 135, 104], //predawn
// "fg": [150, 150, 150], //gray
},
{
"class": "tabset_control",
@anatomatic
anatomatic / Movie Diary.py
Created February 23, 2016 04:49 — forked from philgruneich/Movie Diary.py
Movie Diary.py
# coding: utf-8
import requests
import json
import appex
import dialogs
import re
import datetime
import keychain
import console
@anatomatic
anatomatic / Copy Path.scpt
Last active August 29, 2015 14:10
Quicksilver Action - Copy Path
# Installation Instructions - Place this script into ~/Library/Application Support/Quicksilver/Actions/
on open theFile
try
set _count to count of theFile
if _count ≠ 1 then error "Choose one location only" number 1
tell me to set _filePath to POSIX path of theFile
set the clipboard to _filePath
@anatomatic
anatomatic / Fountain.sublime-settings
Created November 11, 2014 19:45
Fountain.sublime-settings
{
"ignored_packages": ["Color Highlighter"],
"extensions":
[
"fountain"
],
//"color_scheme": "Packages/Fountain/Fountain Tomorrow Night.tmTheme",
//"color_scheme": "Packages/Fountain/Fountain Dan.tmTheme",
"color_scheme": "Packages/Fountain/Fountain Night Owl.tmTheme",
//"font_face": "Monaco",
@anatomatic
anatomatic / Fountain Night Owl.tmTheme
Created November 11, 2014 02:20
Fountain Night Owl - Sublime Text Theme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Ian McAlpin tweaking Dan Sturm tweaking Jonathan Poritsky</string>
<key>name</key>
<string>Fountain Night Owl</string>
<key>scope</key>
<string>text.html.markdown.fountain</string>

This is an example command for Backtick. A Backtick command consists of some executable JavaScript and a bit of metadata in JSON.

Here are the required steps to create a command:

  1. Create a new Gist with a command.js and command.json file, or simply fork this one.

  2. Write your JavaScript in command.js. This will be injected into and executed on the page the user is currently on when they run it.

  3. Add some metadata to the command.json file:

  • name: The name of the command.
@anatomatic
anatomatic / nvALT-idle-quit
Last active April 8, 2020 00:14
Applescript to quit nvALT when idle
-- adapted from: https://culturedcode.com/forums/read.php?7,30174,30597
(*
save as 'stay open' Application and launch at startup
to run in background, change info.plist file to include
<key>LSBackgroundOnly</key>
<true/>
*)