[ListerPlugins] section of wincmd.ini

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

[ListerPlugins] section of wincmd.ini

Post by *Valentino »

Christian, what do you think about determining Lister plugins order by the order of records in this section instead of by ordinal numbers? It will ease exchanging plugins order - just cut'n'paste instead of manual renumbering all entries (including NN_detect ones).
Maybe use plugins names (as file system plugins) instead of numbers:

[face=courier]SynPlus=c:\path\to\SynPlus.wlx
PDF View=c:\path\to\pdfview.wlx
MP3 Tag=c:\path\to\mp3tag\mp3tag.wlx
MP3 Tag_detect="ext="MP3""
[/face]
Last edited by Valentino on 2003-03-13, 12:52 UTC, edited 1 time in total.
User avatar
henrich.fukna
Junior Member
Junior Member
Posts: 60
Joined: 2003-03-07, 10:18 UTC
Location: Bratislava, Slovakia

Post by *henrich.fukna »

How do you think about plugins order?
INI file doesn't support it. The StringList may reorder entries by alphabetical order...

Reason may be like this:
<name>=<order>,<file location>

SynPlus=0,c:\path\to\SynPlus.wlx
PDF View=1,c:\path\to\pdfview.wlx
MP3 Tag=2,c:\path\to\mp3tag\mp3tag.wlx
MP3 Tag_detect="ext="MP3""
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

As far as I know Christian uses his own functions to handle INI. So I thought he can do this. In case he can't I have another idea (with your suggestion we will have to renumber all plugins too):

[face=courier]SynPlus=c:\path\to\SynPlus.wlx
PDF View=c:\path\to\pdfview.wlx
MP3 Tag=c:\path\to\mp3tag\mp3tag.wlx
MP3 Tag_detect="ext="MP3""
PluginsOrder=SynPlus,PDF View,MP3 Tag
[/face]

With this, we'll have to cut and paste to move some plugin higher or lower in sequence. But I'd prefer my first suggestion.
User avatar
ben hub
Member
Member
Posts: 132
Joined: 2003-02-06, 21:47 UTC
Location: Madagascar

Post by *ben hub »

and why not two new buttons "up" and "down" in the plugins installation dialogbox, to rearrange the order of the plugins ?
Benoît
# 4081
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

And checkboxes to the left of each row to temporary disable some plugins (e.g. rarely used, or registered on the same extension) instead of uninstalling.
User avatar
Leif
Senior Member
Senior Member
Posts: 328
Joined: 2003-02-05, 15:44 UTC
Location: Umeå, Sweden

Post by *Leif »

Valentino, you've had a bath and a shave. Hmmm... Stay away from water in the future. :lol:
User avatar
ben hub
Member
Member
Posts: 132
Joined: 2003-02-06, 21:47 UTC
Location: Madagascar

Post by *ben hub »

2Leif I agree +++
Benoît
# 4081
User avatar
Valentino
Power Member
Power Member
Posts: 706
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

To Leif and ben hub
:lol: :lol: :lol:
I had an hour or two without electricity, and I didn't know what to do without my favourite TC, so I decided to refresh myself a bit after many years of working with TC without bath...
Post Reply