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

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Xorimuth
Filter Inserter
Filter Inserter
Posts: 730
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

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

Post 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} ).
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Osmo
Long Handed Inserter
Long Handed Inserter
Posts: 94
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

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

Post 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?)
User avatar
_CodeGreen
Long Handed Inserter
Long Handed Inserter
Posts: 88
Joined: Sat Mar 05, 2022 11:30 am
Contact:

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

Post by _CodeGreen »

+1, not much else for me to add but I agree with both above.
My Mods | If you can't make it perfect, make it adjustable
protocol_1903
Filter Inserter
Filter Inserter
Posts: 270
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

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

Post by protocol_1903 »

+1
If you need to reach me, message me on discord.

I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
Post Reply

Return to “Modding interface requests”