Using the Pasteboard API would require Objective C and since my Mac is too old to run a newer OS X, I can't really work on this.