[Code] Selection dependant menu item macros

[Code] Selection dependant menu item macros

Postby Dan Rathbun » Thu Dec 22, 2011 11:25 am

[Code] Selection dependant menu item macros

DoMyThingToSelection.rb
0
    I'm not here much anymore. But a PM will fire email notifications.
    User avatar
    Dan Rathbun 
    PluginStore Author
    PluginStore Author
     

    Re: [Code] Selection dependant menu item macros

    Postby driven » Sun Dec 25, 2011 6:59 pm

    curiosity has it's rewards,

    cheers dan and merry xmas

    john
    0
    learn from the mistakes of others, you may not live long enough to make them all yourself...

    driven 
    PluginStore Author
    PluginStore Author
     

    Re: [Code] Selection dependant menu item macros

    Postby Dan Rathbun » Mon Dec 26, 2011 4:57 pm

    Your welcome.

    The example is very basic.. and only adds one item to the menus.

    The user can expand it to add more than one item to the menus within the same file. You need not have a separate file for each menu item. Just add additional methods into the Proxy class section, and additional context_menu.add_item calls into the context menu handler section.
    0
      I'm not here much anymore. But a PM will fire email notifications.
      User avatar
      Dan Rathbun 
      PluginStore Author
      PluginStore Author
       

      SketchUcation One-Liner Adverts

      by Ad Machine » 5 minutes ago



      Ad Machine 
      Robot
       



       

      Return to Developers' Forum

      Who is online

      Users browsing this forum: Hansanghak and 5 guests

      Visit our sponsors: