Page 1 of 1

REQ: Directory Hotlist (and other) menu import/export

Posted: 2022-10-12, 16:50 UTC
by wanderer
I find myself in a rather difficult situation ATM. I have created a rather large structure in Directory Hotlist menu (spanning menu entries from 209 to 325) which i want to transfer to another PC. I have copied the relevant entries from one INI to the other, however the destination TC does not recognize them, probably because the last entry in that INI is 3 (which is far far away from 209 :) ).

Having said that, i would like to request an import/export functionality in the menu management windows. The export could just do what i did manually: save selected menu entries, either renumbering them (starting from 1) or leaving them as is. The import functionality should ask where to place them (under which menu) and just import and renumber them.

Re: REQ: Directory Hotlist (and other) menu import/export

Posted: 2022-10-12, 16:56 UTC
by hi5

Re: REQ: Directory Hotlist (and other) menu import/export

Posted: 2022-10-12, 17:12 UTC
by Horst.Epp
hi5 wrote: 2022-10-12, 16:56 UTC I haven't tried this, but could you use RedirectSection=
RedirectSection only handles complete redirects
but the referenced file can be manipulated with the help of some scripts.

Re: REQ: Directory Hotlist (and other) menu import/export

Posted: 2022-10-12, 17:13 UTC
by wanderer
2hi5
Thanks, i know about that, i've used it. I don't think it will help in this case though.

In any case, i'm thinking of renaming each entry manually but there should be an easier built-in way. I certainly do not want to use an external tool. I have several tools on my PC, but i don't want to copy them in all PC's i'm working on and then have to maintain all of them.

Re: REQ: Directory Hotlist (and other) menu import/export

Posted: 2022-10-12, 17:15 UTC
by hi5
I see, but I was (hoping) it would work with a redirected ini if it starts at 209 - it depends on how a redirected ini is processed, it is "included" and thus needs to be "4" as in the example here, or is it processed separately and doesn't it matter where it starts?

Re: REQ: Directory Hotlist (and other) menu import/export

Posted: 2022-10-12, 17:24 UTC
by wanderer
AFAIK, with redirection, files are just joined. This probably means that rules will still be followed so since the INI stops at 3, the next item should be 4. I may try it later if i have some time but i'm not optimistic about it.

Re: REQ: Directory Hotlist (and other) menu import/export

Posted: 2022-10-12, 18:13 UTC
by Horst.Epp
wanderer wrote: 2022-10-12, 17:24 UTC AFAIK, with redirection, files are just joined. This probably means that rules will still be followed so since the INI stops at 3, the next item should be 4. I may try it later if i have some time but i'm not optimistic about it.
The idea with redirection is that you can manipulate this external file
without disturbing your wincmd.ini.
Also the external file can just be link which you can redirect to any file even file TC is running.
The script to build the files must of course follow the rules.

Re: REQ: Directory Hotlist (and other) menu import/export

Posted: 2022-10-12, 19:09 UTC
by wanderer
2Horst.Epp

Thanks for the info. I'm really tempted to write a program to merge two such files...

Re: REQ: Directory Hotlist (and other) menu import/export

Posted: 2022-10-29, 14:44 UTC
by solid
I've never try it how it works, but Ultra TC editors support import and export of entries.