Load more than one extension
-
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? -
Júlio,
I'm a little confused by your questio. Are these extension you have written yourself?
-
@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' [saymodule 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'
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement