Notifications
Clear all

[Closed] Question about UIAccessor

I want to script a Projection Modifier.
Now some of the properties are read only, for example the target object.
I guess I can use UIAccessor to automate the pick target action, I found similar examples with UVW Unwrap, etc.
I imagine being able to hide all objects except the target object, then automate “Pick List” button, then automate pressing “Enter”.
My question is, how do I find out the HWND handle of the “Pick List” button? Is there something like the macro recorder?

2 Replies
 lo1

you must use a dialogMonitorOps notification callback.

See the example in the UIAccessor page of the maxscript help file.

Ah I missed that somehow. Thanks. I’ll dig into it.