add elements to an object

 From:  Michael Gibson
3830.17 In reply to 3830.16 
Hi FiL,

> C:\Programmi\MoI 2.0\commands

Ah, but that is the problem, because the script is hard coded to look for it in

c:\Program Files\ (in English)

So you will need to edit the file as mentioned above. To do this, run notepad and open up the file AssignPresetNameDialog.htm and edit the line that says:

filename = 'c:\\Program Files\\MoI 2.0\\commands\\PresetNames.txt';

and change it to say:

filename = 'c:\\Programmi\\MoI 2.0\\commands\\PresetNames.txt';

Then it should work.

I've attached a version with it edited like that, if you copy the attached file over top of the previous one, does it then work for you?

I can probably figure out a way for the script to find that better, I'll take a look.

EDIT: This is fixed now in the updated version, it should find your machine's "Program Files" folder now.

- Michael

EDITED: 27 Oct 2010 by MICHAEL GIBSON