Hi,
I have been trying to find an OS X tool for one specific task and couldn't find it. I need to have a program running in the background and monitoring clipboard. When the contents of the clipboard matches certain regexp it should execute a script with the contents of clipboard being passed on as a parameter.
There's tons of clipboard managers both free and not, but none seems to have this exact type of functionality. Can someone suggest a tool or a possible solution that doesn't involve system programming? Maybe it is achievable with higher level tools like shell scripts, launchd, applescript or automator?
Thank you.
I have been trying to find an OS X tool for one specific task and couldn't find it. I need to have a program running in the background and monitoring clipboard. When the contents of the clipboard matches certain regexp it should execute a script with the contents of clipboard being passed on as a parameter.
There's tons of clipboard managers both free and not, but none seems to have this exact type of functionality. Can someone suggest a tool or a possible solution that doesn't involve system programming? Maybe it is achievable with higher level tools like shell scripts, launchd, applescript or automator?
Thank you.