first letter of pass capital-reg



  • Dear Ruri

    We loaded combo and i want to convert first letter of pass capital say xxxx:abcd to xxxx:Abcd, so how to do it in OB sir.

    Regards.

    jaygit


  • Admin

    OpenBullet does not provide rules to modify input data recursively out of the box like for example passwordpro does. So in order to achieve what you want you have to add:

    • function block -> CharAt -> 0 (character at position 0) and store it in a variable named C
    • function block -> ToUpper on the input <C> and store it on the same variable C
    • function block -> Replace -> Use Regex -> replace ^. with <C> and store it in a new variable PASSWORD2 or something

    Let me know if it worked



  • thanks a lot dear Ruri

    I got following

    <--- Executing Block FUNCTION --->
    Executed function CharAt on input magician with outcome m
    Parsed variable | Name: C | Value: m

    <--- Executing Block FUNCTION --->
    Executed function ToUppercase on input m with outcome M
    Parsed variable | Name: C | Value: M

    <--- Executing Block FUNCTION --->
    Executed function Replace on input M with outcome M
    Parsed variable | Name: PASSWORD2 | Value: M

    ===== DEBUGGER ENDED AFTER 0.1679687 SECOND(S) WITH STATUS: NONE =====

    But how to get output as Magician bro?

    what other functions needed? as I only got M instead of Magician.

    your help needed

    regards

    jaygit


  • Admin

    Ah yes I forgot to say it, in the function block with replace, inside the input field, you have to write <PASSWORD> or <PASS> or whatever your password is called.
    Doing that will basically take your password and replace the first character (^.) with the capitalized version of it.



  • My Dear Ruri, You are gem, it works nicely. appreciated u a lot.


Log in to reply