Notifications
Clear all

[Closed] Execute string via UIAccessor.SendMessage?

Hi,
I am trying to use the current openning 3dsmax to control another opened 3dsmax,the way I am trying is using UIAccessor,how could I do that?Any idea?

maxHWND=windows.getMaxHWND()
maxChildren=windows.getChildrenHWND 0
for i in maxChildren do 
(
	if findstring i[5] "Autodesk 3ds Max"!=undefined then 
	(
		if findstring i[5] "2019"!=undefined then 
		(
			--execute "box()"  --execute string in another openning 3dsmax
		)
	)			
)