Skip to content

Instantly share code, notes, and snippets.

@kevincolyar
Created August 26, 2011 20:16
Show Gist options
  • Save kevincolyar/1174322 to your computer and use it in GitHub Desktop.
Save kevincolyar/1174322 to your computer and use it in GitHub Desktop.
abbrev 'test' do
pasteBoard = NSPasteboard.generalPasteboard
pasteBoard.declareTypes([NSStringPboardType], owner: nil)
pasteBoard.setString('ಠ_ಠ', forType: NSStringPboardType)
send('<Cmd-v>')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment