If there is a keyboard shortcut to run the selected code, you likely can emulate this shortcut with a PopClip action.
here is an example: How to make a Key Press extension in PopClip — TextExpander example
If there is a keyboard shortcut to run the selected code, you likely can emulate this shortcut with a PopClip action.
here is an example: How to make a Key Press extension in PopClip — TextExpander example