[MSEide-MSEgui-talk] Procedure to create the configuration file of MSEide
Hello! I think of creating an installer for MSEide. I would like to find the code that is used by MSEide to create the configuration file. My idea is to fill automatically the field MSEDIR. I could search by myself but I believe that Fred will probably know that. :) Regards. Roland -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Procedure to create the configuration file of MSEide
Hello Roland > I would like to find the code that is used by MSEide to create the > configuration file. It done by a mse-stat file. The first time you run MSEide, the stat file is created, with the default value assigned (most of them empty). When you load the configuration form and change the value, the stat-file is updated. But, to be honest, imho, the configuration-form from MSEide seems to me clear and easy to use. You have in fact only the directory of msegui widget-set is needed to compile a msegui application. With ideU, the first time you run it, the main configuration form is show and after fill it, the application begins. All that said, if you want to create a installer, maybe take as base the mse-stat file created by MSEide and change the value inside that stat file with your installer. And assign that modified stat file for MSEide. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Procedure to create the configuration file of MSEide
> The first time you run MSEide, the stat file is created, with the default > value assigned (most of them empty). In Linux, it is saved as mseideli.sta in .mseide (directory hidden) /home/you/.mseide/mseideli.sta In Windows is in (not sure) c:/users/fred/Application Data/.mseide/mseideli.sta -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Procedure to create the configuration file of MSEide
Hello Roland. Good news, it will be very easy, you will have to only change the 4th line of mseideli.sta This is mine: [mainfo.mainstatfile] fpcdir= fpclibdir= msedir=/home/fred/mseide-msegui/ // change msedir=/with/your/directory Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Procedure to create the configuration file of MSEide
Re-hello Roland: Here a complete "virgo" mseideli.sta file. Only fields msedir=, compiler=, debugger=, exeext=, target=, targetosdir= and printcommand= should be filled by the installer. [[mainfo.mainstatfile] fpcdir= fpclibdir= msedir= mselibdir=${MSEDIR}lib/common/ syntaxdefdir=${MSEDIR}apps/ide/syntaxdefs/ templatedir=${MSEDIR}apps/ide/templates/ compstoredir=${MSEDIR}apps/ide/compstore/ compiler=ppcx64 debugger=gdb exeext= target=x86_64-linux targetosdir=linux printcommand=lp - globmacronames=0 globmacrovalues=0 projectname= projecthistory=0 windowlayoutfile= windowlayouthistory=0 [actionsmo.shortcuts] sysshortcuts=11 sho_copy,16451 sho_paste,16470 sho_cut,16472 sho_selectall,16449 sho_rowinsert,16646 sho_rowappend,24838 sho_rowdelete,16647 sho_copycells,24643 sho_pastecells,24662 sho_groupundo,16474 sho_groupredo,24666 sysshortcuts1=11 sho_copy,0 sho_paste,8454 sho_cut,8455 sho_selectall,0 sho_rowinsert,0 sho_rowappend,0 sho_rowdelete,0 sho_copycells,0 sho_pastecells,0 sho_groupundo,0 sho_groupredo,0 assistiveshortcuts=9 shoa_speakagain,4020 shoa_speakpath,6020 shoa_firstelement,4059 0046 shoa_lastelement,4059 004C shoa_cancelspeech,4059 0043 shoa_slower,482D shoa_faster,482B shoa_volumedown,682D shoa_volumeup,682B assistiveshortcuts1=9 shoa_speakagain,4904 shoa_speakpath,6904 shoa_firstelement, shoa_lastelement, shoa_cancelspeech, shoa_slower, shoa_faster, shoa_volumedown, shoa_volumeup, shortcuts=99 actionsmo.opensource 16463 0 actionsmo.save 16467 0 actionsmo.saveall actionsmo.saveas actionsmo.close 16691 0 actionsmo.closeall actionsmo.print actionsmo.line 16460 0 actionsmo.find 16454 0 actionsmo.repeatfind 306 0 actionsmo.findback 8498 0 actionsmo.replace 16466 0 actionsmo.findinfile 24646 0 actionsmo.procedurelist 16455 0 actionsmo.selecteditpage 16453 0 actionsmo.copyword 24663 0 actionsmo.indent 16457 0 actionsmo.unindent 16469 0 actionsmo.comment 16459 0 67 0 actionsmo.uncomment 16459 0 85 0 actionsmo.lowercase actionsmo.uppercase actionsmo.copylatexact 16459 0 76 0 sourcefo.completeclassact 24641 0 actionsmo.instemplate 16468 0 sourcefo.navigbackact 16456 0 sourcefo.navigforwardact 24648 0 actionsmo.setbm0 24624 0 actionsmo.setbm1 24625 0 actionsmo.setbm2 24626 0 actionsmo.setbm3 24627 0 actionsmo.setbm4 24628 0 actionsmo.setbm5 24629 0 actionsmo.setbm6 24630 0 actionsmo.setbm7 24631 0 actionsmo.setbm8 24632 0 actionsmo.setbm9 24633 0 actionsmo.setbmnone actionsmo.findbm0 16432 0 actionsmo.findbm1 16433 0 actionsmo.findbm2 16434 0 actionsmo.findbm3 16435 0 actionsmo.findbm4 16436 0 actionsmo.findbm5 16437 0 actionsmo.findbm6 16438 0 actionsmo.findbm7 16439 0 actionsmo.findbm8 16440 0 actionsmo.findbm9 16441 0 actionsmo.attachprocess actionsmo.detachtarget actionsmo.continue 312 0 actionsmo.reset actionsmo.interrupt actionsmo.next 311 0 actionsmo.nexti 24887 0 actionsmo.step 310 0 actionsmo.stepi 24886 0 actionsmo.finish 8502 0 actionsmo.bkptsonact 16450 0 actionsmo.togglebkpt 308 0 actionsmo.togglebkptenable 8500 0 actionsmo.watchesonact 16471 0 actionsmo.bluedotsonact actionsmo.toggleinspector 314 0 actionsmo.toggleformunit 315 0 actionsmo.makeact actionsmo.buildact actionsmo.make1act actionsmo.make2act actionsmo.make3act actionsmo.make4act actionsmo.abortmakeact actionsmo.projectoptionsact actionsmo.projectopenact actionsmo.projectsaveact actionsmo.projecttreeact actionsmo.projectsourceact actionsmo.projectcloseact actionsmo.helpact 304 0 actionsmo.tool0 actionsmo.tool1 actionsmo.tool2 actionsmo.tool3 actionsmo.tool4 actionsmo.tool5 actionsmo.tool6 actionsmo.tool7 actionsmo.tool8 actionsmo.tool9 -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Procedure to create the configuration file of MSEide
Re_hello Roland. Even better. For first time loading, only this is needed (not needed : [actionsmo.shortcuts] and others, it will be updated by meside himself after close.) So only this in mseideli.sta: [mainfo.mainstatfile] fpcdir= fpclibdir= msedir= // here to fill mselibdir=${MSEDIR}lib/common/ syntaxdefdir=${MSEDIR}apps/ide/syntaxdefs/ templatedir=${MSEDIR}apps/ide/templates/ compstoredir=${MSEDIR}apps/ide/compstore/ ___ Ok, I let you in peace, it is your game after all. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Procedure to create the configuration file of MSEide
Hello Fred! Thank you for all the informations. If possible, I would have also liked to know where, in MSEide source code, is the code that creates the configuration file. If you know... For the location of the file under Windows, it's explained here: https://www.delphipraxis.net/1417688-post152.html Regards. Roland -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Procedure to create the configuration file of MSEide
I think you have to check in msesettings.pas -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Procedure to create the configuration file of MSEide
And for the first msestat file, this is working too: [mainfo.mainstatfile] msedir=/home/fred/msegui A file with only those 2 lines is ok, mseide will fill automatically the missing lines. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Procedure to create the configuration file of MSEide
Great! Thank you. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk