You can set a named clipboard from the clipboard from an AppleScript by triggering a macro from an AppleScript.
You can also feed the action XML to the do script AppleScript command, which would allow you to do this via AppleScript without creating a macro first, and/or with a varying named clipboard.