Page 1 of 1

LuaGuiElement.open_elem() (choose-elem-button)

Posted: Fri Apr 22, 2022 11:59 am
by Xorimuth
For my mod Factory Search I’d love a way to open the choose-elem-button from Lua. Even better if I can specify to focus the search textfield on open (like element.open_elem{search=true} ).

Re: LuaGuiElement.open_elem() (choose-elem-button)

Posted: Mon Jul 07, 2025 1:50 pm
by Osmo
+1, more access to existng gui features is always nice. It would also be great to have a similar feature for dropdowns, like LuaGuiElement.open_dropdown(index?)

Re: LuaGuiElement.open_elem() (choose-elem-button)

Posted: Mon Jul 07, 2025 2:30 pm
by _CodeGreen
+1, not much else for me to add but I agree with both above.

Re: LuaGuiElement.open_elem() (choose-elem-button)

Posted: Mon Jul 07, 2025 4:45 pm
by protocol_1903
+1