1

basic syntax to change settings, invoke commands on startup

I'm too new at RV and MU to know the best method and the correct syntax (I've been reading the help and examples), but I'm a little stumped

I'm wanting to switch a few RV settings to run by default on startup, but not all the time. (probably by setting up an alias to load an RV package that changes the settings I want, I'm guessing)

For starters, I want to set a couple parameters that are currently set in a read-only rvui package - so I'm assuming I need to create my own per-user package that changes them. Or would a .rvui.mu file be the best place?
    showMatte        = true;
    matteOpacity     = 1.0;
    matteAspect      = 2.35;
and I'd like to invoke the View->Frame Width command.

any help is greatly appreciated!




save_mattes-1.0.rvpkg

4 comments

  • 0
    Avatar
    Jon Morley

    Hi Adam,

    First of all I would like to know if enabling "Fit Window to First Media Loaded" on the General tab of RV's File -> Preferences addresses your desire to open with View -> Frame.

    I have attached a package that can be installed to save the state of the mattes when you quit and restart RV. You will find a link to it below. Please let me know if this will work for you.

    Thanks,
    Jon

    Package linked above in the original post.

  • 0
    Avatar
    Asi Sudai

    Hey Adam,

    Joining in to this conversation,

    What's the best way to "auto load" package on startup for multiple users?

    is there a startup_hook mu file I can playwith to force a plugin (if it's found/installed) to load on startup

    Tech info: We're running on Windows and have a one network installation of RV6.2.5 for everyone.

     

    thanks you,

    Asi

  • 0
    Avatar
    Jon Morley

    Hi Asi,

    Thank you for that additional information about your setup. That is always helpful.

    Have you looked at the command line tool that comes with RV called "rvpkg"? Here are the docs:

    http://tweaksoftware.com/static/documentation/rv/current/html/rv_reference.html#Chapter_9_Package_System_rvpkg_Command_Line_Tool

    I would start there. Please tell me what your follow up questions are.

    Thanks,
    Jon

  • 0
    Avatar
    Asi Sudai

    rvpkg.exe -optin is exactly what I was looking for, I missed it somehow, thanks you!

Please sign in to leave a comment.