How to get reference to selected assets in content browser?

Here’s a thread that appears to be similar to what you’re trying to do:

It looks like C++ is required.