Notifications
Clear all

[Closed] [maxscript] windows.sendMessage listbox question

Hi,
i’m in the making of a script that performs various operations with uiaccessor and windows.sendmessage

i’m at a point where i have a listbox of a plugin (so not a listbox i can manipulate) and i’m using

windows.sendMessage ListboxHwnd LB_SETSEL true -1

to select all the items in the list, however i’m stuck trying to access informations like count, name or node etc

is there a way to “print” or somehow retrieve things like this?

LB_GETSELITEMS
LB_GETSELCOUNT
LB_GETTEXT

and so on… so recieving messages other than sendig it

2 Replies

Not sure if it works, but did you try to find ListboxHwnd children?

thanks, yes i tried but seems no way to read from there with maxscript only