Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to call Python automation code from a UI button? #887

Open
ghost opened this issue Jan 4, 2023 · 4 comments
Open

How to call Python automation code from a UI button? #887

ghost opened this issue Jan 4, 2023 · 4 comments

Comments

@ghost
Copy link

ghost commented Jan 4, 2023

I saw your code and it was very helpful. Thanks a lot for sharing it.

Can you please guide me on how can I call this python automation code from a UI button in Unreal Engine? I want to create a plugin which will show a UI button and I want to call my python automation script when this button is pressed.

Thanks in advance.

@tempaccountforissue
Copy link

Hey, I'm trying to do something similar, but with text. Can you let me know if you were able to get this done, how you did it?

@ghost
Copy link
Author

ghost commented Feb 9, 2023

It's not easy. I had to use C++ to create a UI button and then from there it called the python automation script.

@tempaccountforissue
Copy link

@avidews If you still have the script could you upload it here? I'm not trying to use an automation, I'm just trying to get text from a UEditableTextBox and if your script has to do with interfacing with UI elements I think it could help point me in the right direction.

@ghost
Copy link
Author

ghost commented Aug 1, 2023

Really sorry for late reply. I am also finding a solution, still.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant