Coder Social home page Coder Social logo

Comments (7)

RubicBG avatar RubicBG commented on June 20, 2024

In order to be able to help as much as possible, I need two things:

  • the version of Nilesoft Shell so I can know what syntax can be used and what features are available
  • screenshot of Autodesk Inventor commands - this will help me be clearer in the examples

from shell.

Ryder17z avatar Ryder17z commented on June 20, 2024

I recently downloaded it, says 1.8.1

These are the commands i want to move to a submenu
image

from shell.

RubicBG avatar RubicBG commented on June 20, 2024

in imports\static.nss add:
item(find='Design Assistant|Pack and Go|iProperties|Purge*' menu=title.more_options)
this will move all of them to "More Options" menu

if you want to move them to a new menu, you must first create it

static
{
item(find='Design Assistant|Pack and Go|iProperties|Purge*' menu='new menu name')
}

dynamic
{
// create empty menu - not visible when empty
menu(mode="multiple" title='new menu name') { }
}

pay attention to static/dynamic in the files you edit

from shell.

Ryder17z avatar Ryder17z commented on June 20, 2024

I tried the second approach and it has no effect. I've tried adding it within shell{ } or adding it below, but neither works

the first solution works but items in that submenu are not sorted
(i don't know how i would put everything after a separator but that would work fine)

from shell.

RubicBG avatar RubicBG commented on June 20, 2024

I don't use Autodesk. I'm using the latest beta version of Nilesoft Shell, which has a slightly different syntax, which makes me improvise when giving the code:

item(find='Design Assistant' sep=sep.after pos=pos.bottom menu=title.more_options) 
item(find='Pack and Go|iProperties|Purge*' pos=pos.bottom menu=title.more_options) 

from shell.

Ryder17z avatar Ryder17z commented on June 20, 2024

Appending the above to the shell.nss file on version 1.8.40 also has no effect unfortunately.

I don't know how the context menu is stored other than that it's somewhere in the windows registry, I'd be happy to include details but I can't find these items if I search for "Purge" or "iProperties" and etcetera as a string.

from shell.

RubicBG avatar RubicBG commented on June 20, 2024

version 1.8.1 and 1.8.40 have different syntax:

modify(find='Design Assistant' sep=sep.after pos=pos.bottom menu=title.more_options)
modify(find='Pack and Go|iProperties|Purge*' pos=pos.bottom menu=title.more_options)

Also, the commands don't need to be stored in the registry - they are most likely read from some .dll file

from shell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.