Hello, I am looking for a way to simulate pressing a button on the 3DS Max UI through Maxscript. The Transform Type-In button to be precise. Here is a picture of the button in question: https://www.dropbox.com/s/r4wiwrc2t4gh1wb/3dsmax_2016-04-12_18-50-46.jpg?dl=0
I can’t use UIAccessor.PressButtonByName because it doesn’t have a name. My attempt to solve the problem was using this code:
n = 1
for i in windows.getChildrenHWND #max do
(
n += 1
print (i[5] + "___ID:" + n as string)
)
This would spit out the ID of the text “X:”. I then try executing
UIAccessor.PressButton (windows.getChildrenHWND #max)[n-3][1], however it doesn’t seem to work. Which is odd, since when I put in n-5, which should correspond to the “Selection Lock Toggle” button, it works just fine, as well as n-7 for the “Isolate Selection Toggle” and etc.
For some reason I am not able to access this button.
Do any of you have any idea what the problem might be? Any help would be greatly appreciated