The goal is to set focus on a combobox then give the simulated command of “enter” so the combobox list will open without the user actually inputting anything to the combobox. In theory of course.
How can i simulate a user input?
The goal is to set focus on a combobox then give the simulated command of “enter” so the combobox list will open without the user actually inputting anything to the combobox. In theory of course.
How can i simulate a user input?
I think the user has to click it…
This is how i have now.
I would like to replace step 2 with “blueprints tells the engine that enter is pressed (although it is not press on the keyboard).”
Is this possible?
This sounds promising. Could you explain how to do this?
You could use that approach Simulate Player Input with Enhanced Input | Unreal engine Code Snippet
If you are on Windows, you can simply call ::PostMessageA()
, maybe make a tiny blueprint library to wrap the function and call it from blueprint. This can generate a keyboard input event, which the game should recognize.
PostMessageA function (winuser.h) - Win32 apps | Microsoft Learn