How to export shortcuts into a nice textformat?

Next
 From:  Lordfox
9656.1 
Helo, it has nothing to do without moi3d, but how I can export the shortcutlist (I see this list in the moi.ini, but this list dosn't look good)? Is there a fast way to create a pdf sheet or something?

A fast way, without 100x copy & paste, copy paste ... ;)
  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:  Frenchy Pilou (PILOU)
9656.2 In reply to 9656.1 
Why 100 * Copy Past ?
Select all lines in one pass and copy past it any Editor Text you want! :)
even here :)

Alt+C=script:/* Calculate length of selected curves and copy to the clipboard as text */ var crvs = moi.geometryDatabase.getSelectedObjects().getCurves(); var len = 0.0; for ( var i = 0; i < crvs.length; ++i ) len += crvs.item(i).getLength(); moi.copyTextToClipboard( len );
Alt+M=Move BoundingBoxCenter
Alt+N=script: var objs = moi.geometryDatabase.getObjects(); for ( var i = 0; i < objs.length; ++i ) { var obj = objs.item(i); obj.setHitTest( true ); }
Alt+P=script: function es(edg){ var i,f; for (i=0; i<edg.length; i++) {f=edg.item(i).getFacesOfEdge(); f.setProperty('selected',1);}} var so = moi.geometryDatabase.getSelectedObjects(), sf=so.getFaces(), i; for ( i=0; i<sf.length;i++) es(sf.item(i).getEdges()); es(so.getEdges());
Alt+R=rebuild
Alt+S=_sscale
Alt+U=script:moi.geometryDatabase.invertSelection(); moi.geometryDatabase.hide( true );
Alt+W=moi.filesystem.shellExecute( 'http://moiscript.weebly.com/uploads/3/9/3/8/3938813/native-f_orig.jpg' );
B=_sbridge
Ctrl+A=script:moi.geometryDatabase.selectAll();
Ctrl+Alt+A=Send_to_Rocket_3F
Ctrl+C=CopyClipboard
Ctrl+D=moi.filesystem.shellExecute( 'http://www.calculatoredge.com/matweight/material%20wt.htm' );
Ctrl+N=New
Ctrl+O=Open
....
etc

EDITED: 20 Jan 2020 by PILOU

  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:  Lordfox
9656.3 
Thnx, I know- But iis is unformated.
Is there a way to create a nice xls-xml-pdf-sheet? Like in Excel? in a very fast way? I like the view in the options ;) - I want sort and print my shortcuts ;)
  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:  Frenchy Pilou (PILOU)
9656.4 In reply to 9656.3 
Seems Notepad++ has this sort of formats(except PDF)
so you can reload to Excel...
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  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:  Michael Gibson
9656.5 In reply to 9656.1 
Hi Lordfox, you can use Excel for that.

First go to moi.ini and select the entire [Shortcut Keys] section and use Ctrl+C.

Inside Excel select cell A1 and use Ctrl+V to paste in the text.

Now stretch out column A (so it is easier to go to the B column), then go to cell B1 and put in this: =LEFT(A1,FIND("=",A1)-1)

That will extract out the text before the first = sign. Select the cells from B1 downwards to your last row and use Fill > Down. This has now extracted the "Key" part of the shortcut key into its own column.

Now in cell C1 put in this: =RIGHT(A1,LEN(A1)-LEN(B1)-1)

That extracts the "Command" part of the text. Select the cells from C1 downloads to your last row and use Fill > Down.

Now hide Column A and you should have 2 separated columns that you can print out.

- 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
 

Reply to All Reply to All