Skip to content

Instantly share code, notes, and snippets.

@thespacedoctor
thespacedoctor / OpenMeta2OSXTags.sh
Last active May 5, 2021 15:58 — forked from Zettt/OpenMeta2OSXTags.sh
[OpenMeta 2 MacOS tags] Script that reads OpenMeta tags and writes them to OS X Mavericks tags #tag #openmeta #convert
# =============================================================
# = OpenMeta to OS X Tags =
# =============================================================
# Script to convert OpenMeta tags to OS X Mavericks tags.
#
# Created by Zettt (Andreas Zeitler) on 2013-06-28
# Source www.macosxscreencasts.com, mosx.tumblr.com
#
# OpenMeta to OS X Tags by Andreas Zeitler is licensed under a
# Creative Commons Attribution-NonCommercial-ShareAlike
@thespacedoctor
thespacedoctor / replicate_entry_in_devonthink.applescript
Last active May 5, 2021 15:58
[Replicate Item in Devonthink to specific location] Replicate a record to another location in devonthink #devonthink #applescript #duplicate #replicate
try
tell application id "DNtp"
set databasePath to "/Users/Dave/Dropbox/devonthink/home media.dtBase2"
set toDatabase to (POSIX path of databasePath)
set toDatabase to open database toDatabase
set theSelection to selection
if theSelection is {} then error "Please select something"
@thespacedoctor
thespacedoctor / idl_startup
Last active May 5, 2021 15:58
[IDL Startup dotfile] #idl #dotfile
defsysv,'!HOME',GETENV('HOME')+'/'
defsysv,'!IDL_RBUF_SIZE',5000
device,retain=2
; ---- Use my Progs directory and subdirs
myprogs=expand_path('+/misc/pessto/git_repos/idl',/all_dirs)
!PATH = myprogs+':' + !PATH
; ----
astrolib