Read Clipboard in the Editor

Hi, I want to read the Clipboard content in the editor, using the 's brush trick (you can alter the actor properties while in the editor). But the function PasteFromClipboard() depends of PlayerController, and in the editor there aren’t any.

If I execute the functions in game, then the content aren’t stored, so I need to use in the editor. I have used the brush trick but not using the clipboard.

What I want is to fill an array with a large text stored in Clipboard. It’s the dialogs actor, to store the dialogues and their variables without restarting the editor each time.

So there are some way to read the clipboard apart of the playercontroller?

Not sure. I think you would have to make a separate dll to get info from the clipboard and then access it using binddll.

Can you not just spawn a player controller in your GameInfo during it’s PostBeginPlay() specifically for this task?

Yes, spawning a controller it works. But not in the PostBeginPlay, as the game is not runing, it’s executed in the editor, in the Build() event of the custom brush. I did the controller placeable and placed it in the map.
Works perfectly, thanks to both.