AssignName

 From:  Michael Gibson
9717.9 In reply to 9717.4 
Hi Pilou,

> There is an AssignPresetName for V3 http://moi3d.com/forum/index.php?webtag=MOI&msg=3830.8
> who seems don't works for V4 !
>
> (no names found in the PresetNames.txt list who is working in the V3 !!!)

In that same post find the link that says "EDIT2: see here for a version that will work on a Mac".

Then inside the file AssignPresetNameDialog.htm find the line that is setting the path to the PresetNames.txt file:

code:
	// This should find the commands folder on the Mac version.
	var filename = 'c:\\moi\\commands\\PresetNames.txt';						
						
	// On Windows it would be like this:						
	//var filename = 'c:\\Program Files (x86)\\MoI 3.0 beta Nov-6-2012\\commands\\PresetNames.txt';


Change that to the path to where you have the PresetNames.txt file so it can find it, like:

code:
	var filename = 'C:\\Users\\Michael\\AppData\\Roaming\\moi\\commands\\PresetNames.txt';


That's all that is needed to make it work with v4.

- Michael