Hi all i’m just trying to get max to cycle through some basic max tasks. in this case i want to just use the freeze transform tool without having to copy some of the code.
i have bee trying to get the DialogMonitorOps to work properly but its seems to not even recognize the code PressButtonByName or even PressDefault.
i thought the process for doing this was to call what dialogue is open and the press the defualt button eg “yes” on freezeTranform and by name is “Yes”
anyway he is a loop. this is not really how i would use this but i want to see if i can get it to work on one button press.
for myhelpers in selection do ( macros.run "Animation Tools" "FreezeTransform" --UIAccessor.PressDefaultButton WindowHandle = DialogMonitorOPS.GetWindowHandle() UIAccessor.PressButtonByName WindowHandle "Yes" true )
anyhelp would be greatly apreciated as there is not alot of help or referance of using these simple operations.