MoI discussion forum
MoI discussion forum

Full Version: File window list reset?

Show messages: All  1-4  5-9

From: Michael Gibson
6 Dec 2017   [#5] In reply to [#3]
Hi Matt, yes in MoI go to Options > General and push the "Edit .ini file" button. Then the moi.ini file should come up in TextEdit and the recently used files list is in there under the [Recent Files] section.

For reversing the order there isn't any built in way to do that but it should be possible by editing some of the UI files, I'll describe how to do that a little later today.

- Michael
From: Michael Gibson
6 Dec 2017   [#6] In reply to [#1]
Hi Mat, so to reverse the order of the recent files list, right-click on the MoI app and choose "Show package contents". Then inside there go into the ui folder and the file you need to edit is named FileMenu.htm, you need to open it in a text editor.

On line number 13, there is currently this:

code:
			for ( var i = 0; i < Files.length; ++i )


Change it to this instead:

code:
			for ( var i = Files.length-1; i >= 0; --i )


And that should do it.

- Michael
From: mat10x
7 Dec 2017   [#7] In reply to [#5]
Hi Michael,

Thanks for the response! Really enjoying MOI by the way, just bought it recently. Enjoying the simplicity of it, great job! I find myself bouncing between Rhino and MOI for different things. Mostly use MOI now...especially nice with Max Smirnov's amazing scripts and Custom UI.

2 follow up questions for you:

1. Found the [Recent Files]...but what exactly do I delete?

I see this...
[Recent Files]
File0=z:\Users\blah blah blah...3dm
File1=z:\Users\blah blah blah...3dm
File2=z:\Users\blah blah blah...3dm
and so on.

...Some of the Zs in the lines are capital after the = sign, most are lower case, not sure if that matters for anything.

...Do I delete the entire line? Or just a certain section of the line?

2. On the Recent Files List - changing the order question

Found the Filemenu.htm as you instructed...but for some reason when I click on "text editor" on my Mac...I get a blank page...nothing is there, no lines of code.

Thanks!

Mat
From: Michael Gibson
7 Dec 2017   [#8] In reply to [#7]
Hi Mat,

> ...Some of the Zs in the lines are capital after the = sign, most are lower case, not sure if that matters for anything.

That doesn't matter.


> ...Do I delete the entire line? Or just a certain section of the line?

Just delete entire lines that you don't want anymore and edit the numbers before the = sign so there aren't any gaps.



> 2. On the Recent Files List - changing the order question
>
> Found the Filemenu.htm as you instructed...but for some reason when I click on "text editor" on
> my Mac...I get a blank page...nothing is there, no lines of code.

Oh yeah when this happens it means TextEdit is trying to display the HTML to edit it rather than editing the raw text directly. I think there's a menu option somewhere to switch that behavior or you could try using Notepad++ instead.

See here for some instructions on how to do it with TextEdit:
https://computers.tutsplus.com/tutorials/quick-tip-configure-textedit-for-coding-html--mac-44786

- Michael
From: mat10x
11 Dec 2017   [#9] In reply to [#8]
Thanks for the link Michael...now I can see the HTML text! Just had to change basic settings in TextEdit.

Show messages: All  1-4  5-9