• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

Load more than one extension

Scheduled Pinned Locked Moved Extensions & Applications Discussions
extensions
3 Posts 3 Posters 173 Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    juliogriebeler
    last edited by 24 May 2012, 17:19

    Hello,
    i want to load 3 similar extensions with different names and icons.

    But with all activated in the menu Window/Preferences,
    in the menu View/Toolbar/ shows only one of them.
    Anyone know a solution to load the three at the same time?

    1 Reply Last reply Reply Quote 0
    • J Offline
      Jim
      last edited by 25 May 2012, 20:45

      Júlio,

      I'm a little confused by your questio. Are these extension you have written yourself?

      Hi

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 26 May 2012, 13:00

        @juliogriebeler said:

        Hello,
        i want to load 3 similar extensions with different names and icons.

        But with all activated in the menu Window/Preferences,
        in the menu View/Toolbar/ shows only one of them.
        Anyone know a solution to load the three at the same time?
        This probably belongs in the Developers' forum ?
        When you write a new 'tool' you create a toolbar and add commands into it; each commands has its own button images etc...
        If you have separate scripts loading you need to make an enduring reference to the toolbar.
        So have a 'loader' script, with a 'module' [say module Julios...... end] in which you define the toolbar with a @tbar = ... reference.
        Then get it to load the other scripts which you have in a subfolder [perhaps called 'Julios'].
        Then have each of those script's 'tools' encased in the same named 'module', and have some code to add each tool's command/button to ' @tbar' toolbar.
        This way you make the toolbar and add items too it from other scripts, by sharing the same module and a common reference to the toolbar, using a @ name that 'endures' 😄

        TIG

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          1/3
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement