ScriptSpot home

MiniListener Focus

Downloads

3ds Max compatibility
Unknown
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
0.01a
Legacy votes
6
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

Swordslayer

Vojtech Cada

More by this author

Description

Sets keyboard focus to the MiniListener input field. If you want to use it, run the .mcr file once via Scripting -> Run Script or by drag&dropping it to the viewport. It creates an item in the Shortcuts category under Customize UI, which you can then assign a shortcut to.

 

 

Comments (4)
Haider Alghifary

.

I got this error

No ""get"" function for undefined

I run Max 2016

Reply to Haider Alghifary
Martin Breidt

works in 2017

FWIW: The oldest version I have is 2017 and there the script works just fine as a hotkey as well as a button.

Reply to Haider Alghifary
Panteleev Sergey

.

I guess this should work fine in all 2012+ versions


(

	hwnd = (dotNetClass "Autodesk.Max.GlobalInterface").Instance.TheListenerWindow
	windows.sendMessage hwnd 0x0007 0 0 -- WM_SETFOCUS
		
	setListenerSel #(-1,-1)	
	setListenerSelText ""

)
Martin Breidt

Nice one!

Five lines of code, and each one is interesting :-)
Nice, thank you