Send results to clipboard?

Is there a built-in option for sending the results of a function to the OS clipboard? Currently I'm using the ExecuteScript command to do this with AppleScript, but would prefer a built-in option if its available. This would help prevent the need for using special syntax to handle characters like tabs.
It's not clear what you have in mind. If you are looking for a way to send text or images to the clipboard programmatically, look at PutScrapText and SavePict.

Otherwise, I haven't seen anything that redirects text to the clipboard that would otherwise automatically go to the history window.
Ah that command will work fine for my purposes. You can use it right before any command (e.g., "putscraptext igorinfo(1)") and it will output the results to the clipboard.
tkessler wrote:
Ah that command will work fine for my purposes. You can use it right before any command (e.g., "putscraptext igorinfo(1)") and it will output the results to the clipboard.

To be accurate, the command you cite is a function that returns a string. The returned string is then used as the argument for PutScrapText. If you used PutScrapText CurveFit... it would not result in the history report from CurveFit being sent to the clipboard.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com