TsiLang Exepert save forms in diferent files

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
Gennadiy
Posts: 3
Joined: Fri May 05, 2023 9:17 am

TsiLang Exepert save forms in diferent files

Post by Gennadiy »

Hi.

Is it possible for Expert to save project forms in different .sil/.sib files? each form in its own file
Last edited by Gennadiy on Fri May 05, 2023 1:41 pm, edited 1 time in total.
Best regards,
Gennadiy.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Re: TsiLang Exepert save forms in diferent files

Post by isiticov »

Hello,
Automatically this is not possible, but you can select form one by one and save it to the specified file. Or you can save all forms into one SIB file and then using SIL Editor and deleting all forms except one create one SIB per form from this global SIB file. But the first way is much easier IMHO.
Best regards,
Igor Siticov.
Gennadiy
Posts: 3
Joined: Fri May 05, 2023 9:17 am

Re: TsiLang Exepert save forms in diferent files

Post by Gennadiy »

Thanks for the quick response, but unfortunately there are quite a few forms.
Neither the first nor the second method is suitable.
Best regards,
Gennadiy.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Re: TsiLang Exepert save forms in diferent files

Post by isiticov »

Then, you can try to create a .BAT file and use DFM2SI_CONSOLE.EXE to create SIL/SIB file from DFM. You will just need to iterate through the needed DFM files and define a SIL/SIB file name for each operation. Something like this:

Code: Select all

forfiles /S /M *.dfm /C "cmd /c dfm2si_console.exe sifile @fname.sib @file"
Best regards,
Igor Siticov.
Gennadiy
Posts: 3
Joined: Fri May 05, 2023 9:17 am

Re: TsiLang Exepert save forms in diferent files

Post by Gennadiy »

Thank you, this option might work.
Best regards,
Gennadiy.
Post Reply