Notifications
Clear all

[Closed] Change "Auodesk 3dsmax 2012" Title

Hi!

Can anyone tell me how to change this text in Max (underlined on the picture attached)?
Here i found
(dotnetclass “Autodesk.Windows.ComponentManager”).QuickAccessToolBarand can do some things using it, but can’t get a point where this text property is located… Thank you!

10 Replies

why do you want to change it?

I just want to put the maxfilepath there – that’s not very necessary, but i wonder if it is possible or not.

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

it’s not possible via mxs. and i don’t remember any max setting to show full path in the title.

Look up cui.setAppTitle in maxscript reference.

4 Replies
(@denist)
Joined: 11 months ago

Posts: 0

cool! never used it. and i will do it immediately!

(@denist)
Joined: 11 months ago

Posts: 0

here is it:


 global AppTitleExtension
(
	struct FullFilepathStruct
	(
	private
		id = #full_path_title,
	public
		data,
		enabled = on,
			
		fn setTitle = (if doesfileexist (f = maxfilepath + maxfilename) do cui.setAppTitle f),
		fn preAction =
		(
			d = callbacks.notificationparam()
			data = if d[1] < 2 do d
		),
		fn postAction = (if data != undefined and enabled do cui.setAppTitle data[2]),
		on create do
		(
			callbacks.removescripts id:id

			callbacks.addscript #filePreOpenProcess "AppTitleExtension.preAction()" id:id
			callbacks.addscript #filePreSaveProcess "AppTitleExtension.preAction()" id:id
			callbacks.addscript #filePostOpenProcess "AppTitleExtension.postAction()" id:id
			callbacks.addscript #filePostSaveProcess "AppTitleExtension.postAction()" id:id
			
			if enabled do setTitle()
		)
	)
	AppTitleExtension = FullFilepathStruct()
	ok
)
 
(@rghost)
Joined: 11 months ago

Posts: 0

Thank you for sharing! Very useful!

(@spacefrog)
Joined: 11 months ago

Posts: 0

This works only for the legacy, standard window titlebar which gets obscured by this silly, fat awkward adipose monster of an appframe Autodesk introduced with Max 2010. If you close the Appframe window using some windows messaging hack or some 3rd party tool you will see that the old titlebar still exists and it’s title get’s set correctly using the above command…
go figure …

in xp & 2010 that just changes the name of max instance in the taskbar :shrug: the window title is unchanged.

Thank you very much! Now it’s more convenient