File window list reset?

Next
 From:  mat10x
8721.1 
Hey guys,

Super basic question...

How do I clear/reset the "File" window...bottom left tool bar button that pops open with your recent list of files. Want to clear out some of the files from the list that I'm not working with.

...and is there a way to have my most recent file at the top of the list, rather than at the bottom?

Thx!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8721.2 In reply to 8721.1 
Edit their names in the MoI ini file perhaps?
Probably located at %appdata% in windows7...
- B
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mat10x
8721.3 In reply to 8721.2 
...I should have mentioned...I'm on a Mac. I had looked through the MOI folder...didn't see anything with the file names.

Thx.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8721.4 In reply to 8721.3 
Under Options/General on the MoI screen, pressing the button: [Edit .ini file] should show the address of the file.
- B
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8721.5 In reply to 8721.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8721.6 In reply to 8721.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mat10x
8721.7 In reply to 8721.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8721.8 In reply to 8721.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  mat10x
8721.9 In reply to 8721.8 
Thanks for the link Michael...now I can see the HTML text! Just had to change basic settings in TextEdit.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All