Welcome to ModelRight Sign in | Join | Help
in

[Solved]Scripts Folder

Last post 09-16-2008, 2:28 PM by ricktg. 7 replies.
Sort Posts: Previous Next
  •  09-15-2008, 9:37 AM 860

    [Solved]Scripts Folder

    Hello!

    On previous builds of MR, there was a folder containing all the VBS scripts used by it.

    I´ve installed build 3050 and i noticed that this folder doesn't exist anymore. Is that correct?

     Regards

    Ricardo

  •  09-15-2008, 10:13 AM 861 in reply to 860

    Re: Scripts Folder

    Hi Ricardo,

     I do not think there was ever a pre-installed scripts folder. But if you do go to the scripts explorer and pick your database folder and do a Save Recursively to Disk from the menu contex then all the scripts will get saved to a folder.

     

    Hope this helps.


    ModelRight Evangelist
  •  09-15-2008, 10:56 AM 862 in reply to 861

    Re: Scripts Folder

    BTW, as you probably know, the save feature is there to allow sharing (between your various models) of localized scripts. Note that, if you save a script then any updates made by ModelRight team (to fix bugs, add new features, etc) to any of the saved scripts will not be picked up by your models... you will need to remove your saved script(s) or merge any changes made by ModelRight in your scripts.
    ModelRight Evangelist
  •  09-16-2008, 6:43 AM 863 in reply to 862

    Re: Scripts Folder

    Now i got it!

    Thank you very much sir!

    Regards

    Ricardo

  •  09-16-2008, 7:45 AM 864 in reply to 863

    Re: Scripts Folder

     Sure, no problem. Do you mind sharing why do you need the Scripts folder?

     


    ModelRight Evangelist
  •  09-16-2008, 1:34 PM 865 in reply to 864

    Re: Scripts Folder

    No problem,

    Actually, our development team have to use all the same scripts. I modified them so the MR's Generate to database can create the Database creation Script as we need it (with "&&" before the Object Owner and ".." after and others details).

    We control the .wer file on CVS. So what we do is: get the wer, place it on and LAN path where these scripts are located and do what we have to...

     It is the only way we found it to share the scripts among others developers.

    Regards

    Ricardo

  •  09-16-2008, 1:50 PM 867 in reply to 865

    Re: Scripts Folder

    Sounds good.

    The only inconvenience with that is, whenever you update to a new version of ModelRight you have to compare your scripts with the built-in scripts and merge your changes into the new scripts. Basically, you will have to save the built-in scripts in a new folder and compare the new folder with your folder and resolve any differences.

    Lately we have been making a lot of updates to the scripts….


    ModelRight Evangelist
  •  09-16-2008, 2:28 PM 868 in reply to 867

    Re: Scripts Folder

    I agree...

    About this, i thinking of creating Global Functions that get the command generated by the  scripts and change it to work as we need. Then i dont need to change the scripts and can overwrite with no problems!