Python Script for Asset Action Utility

Hey, would anyone familiar with Python be willing to write a script for me that gets the selected actors in the content browser and adds them to an actor class reference array called ‘SupportedClasses’ inside my editor utility widget called ‘EUW_Pattern’?

The widget is located at:
/Game/Widgets/PatternCreator/EUW_Pattern.EUW_Pattern

I apologize for basically asking someone to do this for me, but I don’t have much experience with Python and really need this done. I’ve been trying to get help from Chatgpt for hours, but I keep running into issues. I’ve had some success in the past, but I guess it’s just not working this time.

I would really appreciate it if anyone could help me. My goal is to execute a Python script in an asset action utility:

And append the selected actors (as shown below):

To my editor utility widget’s SupportedClasses array:
image