Domino on Linux/Unix, Troubleshooting, Best Practices, Tips and more ...

    Quick change to default font with smart icon

    Daniel Nashed  2 February 2020 15:50:16

    The Notes standard Client has a short list of last used fonts. It's not exactly working like the last languages in the propery box of the document.
    And it isn't available in the basic client, which is still what I am using, because of performance ..

    Most of the times I have to set back the font from something else to Default Sans Serif.

    So after all those years I came up with a simple smart icon, which sets the current selected text to Default Sans Serif

    @Command([TextSetFontFace];@GetMachineInfo ([EnvVariable];"NAMEDSTYLE1_FACE"))


    By the way the button is using a not so well documented @function which gets a notes.ini variable in @formula that doesn't have to start with a $.

    For me this will be a huge time saver.  

    I would wish I could set the standard for past to text only instead of having a 3 keys short cut for plain text.

    You can take this one step further and change the font for the whole body field with one click...


    @Command([EditGoToField];"Body");
    @Command([EditSelectAll]);
    @Command([TextSetFontFace];@GetMachineInfo ([EnvVariable];"NAMEDSTYLE1_FACE"));
    @Command( [EditDeselectAll] );

    -- Daniel


    Comments

    1Mark Maden  03.02.2020 16:06:05  Quick change to default font with smart icon

    Thanks Daniel,

    I have now got myself a shiny new smart icon.

    2Ramazan Salpagarov  03.02.2020 18:41:32  Quick change to default font with smart icon

    Thx

    It will save more time of me!

    Archives


    • [IBM Lotus Domino]
    • [Domino on Linux]
    • [Nash!Com]
    • [Daniel Nashed]