Max script command panel and script Buttons

Max script command panel and script Buttons

slava.lobanov.1990
Advocate Advocate
619 Views
1 Reply
Message 1 of 2

Max script command panel and script Buttons

slava.lobanov.1990
Advocate
Advocate

Hi.

1) Is it possible in the window I created through the max script to go to the standard standard panel 3ds max?

slavalobanov1990_0-1629237097530.png

2) Is it possible to make a script in which my button will be created, but when I click on it, another standard button will be pressed? 

slavalobanov1990_1-1629237597243.png

Example I click on the test button and when it is pressed, another button is pressed and executed.

 

0 Likes
620 Views
1 Reply
Reply (1)
Message 2 of 2

yun7928903
Participant
Participant

if you can't find the command, you can try handles through UIAccessor.something like this:

mainChildren =UIAccessor.GetChildWindows (windows.getMaxHWND())
nowTime = sliderTime

checkMount = #()
for i in mainChildren do(
if (UIAccessor.GetWindowText i)==(nowTime.frame as integer) as string then ( append checkMount i)
)

 

animator
0 Likes