Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I currently have a simple workflow that gets the contents of the clipboard and creates a new text file from those contents on the desktop.

problem is, i have to run the workflow everytime i need my clipboard dumped in the text file

is there any way i could create a workflow/application/service using automator that runs in the background and dumps the contents of the clipboard into the text file everytime the contents of the clipboard change?

alternatively, is there any app that would accomplish the same?

share|improve this question

I recommend designing such a process in AppleScript. AppleScript is not capable of just sitting and detecting a clipboard change, but you can set a regular interval for it to check your clipboard. Using variables, you can deduce if the clipboard data changes over time and set an IF THEN statement to run the text file process each time a change is detected. As far as having this run in the background, you can make the AppleScript a login item through System Preferences.

Here is a good template for polling the clipboard for changes. And here is a good starting point for the AppleScript code to copy into a text file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.