ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Hi
I want to automate some actions, and I would like to "clic" on a opened window button.
I look at "dialogMonitorOps",and "UIAccessor" is it a solution ?
If the window is not created by you or you can't read the code that creates the window then use "dialogMonitorOps" and "UIAccessor".
If the window is created by you or you can read the code of the script then you can click the desired button directly. For example:
(
global myRollout
rollout myRollout "My Roll"(
button btn_01 "Press me"
on btn_01 pressed do(print"I was pressed"))
createDialog myRollout
)
To press the btn_01 from any other code(script) use this:
Comments
.
If the window is not created by you or you can't read the code that creates the window then use "dialogMonitorOps" and "UIAccessor".
If the window is created by you or you can read the code of the script then you can click the desired button directly. For example:
To press the btn_01 from any other code(script) use this:
Tools and Scripts for Autodesk 3dsMax
Thanks for answer, hope
Thanks for answer, hope you're on hollidays.
.
At work unfortunately. On January 1 also - 24h shift. :)
Tools and Scripts for Autodesk 3dsMax