attentionbydesign / tymera

Custom Scripts
GNU General Public License v3.0
0 stars 0 forks source link

Automatic extension activation #7

Closed attentionbydesign closed 2 months ago

attentionbydesign commented 2 months ago

Not horrible to have to click on Tools>Custom Plugins>tymera to import everything, but worth testing out if checking the autostart box in preferences works. It probably should work in the same way as the keyboard shortcuts extension, thereby registering standard accelerators from the moment chimera is started.

attentionbydesign commented 2 months ago

It works! As long as there is a ChimeraExtension.py file that defines the class (see source code), Tymera will show up in the tool preferences dialog, where you can check off in the autostart column to ensure that Tymera is activated upon startup. To define what code is run upon activation of Tymera, see the ChimeraExtension.py: it calls the function in tymera_init.py which you can modify further as needed.