Getting a procedure to copy selected text?

I have a text display object with ‘Allow Text Selection’ enabled. I would like a procedure to use the selected text. I could manually copy it (command-C) then run the procedure, but would like to do just one operation, not two, if possible. Is there a way to do this?
Can Pop-click help with this problem?

Sorry, that’s not currently possible. Good idea, though, I’ve added it to the list.

I haven’t tried it, but as a workaround for now I think you might be able to use the sendaction statement to copy the text onto the clipboard…

sendaction "copy:"

That did exactly what I needed. I have a Dutch/English dictionary. When one dictionary entry has word that I don’t know, I can just select it and with one key combination jump to that entry.
Thanks.