Menu

#2767 FR: Add placeholders for "trigerring database"

KeePass_2.x
open
nobody
5
2022-10-26
2022-10-25
BigMike
No

Can you please add placeholders, which contain information about the triggering database.

There are {DB_PATH}, {DB_DIR}, {DB_NAME}, {DB_BASENAME} and {DB_EXT}, which seem always to contain the information about the active database.
I'd like to run a script on the triggering database, but using this variables, I'm always ending up with the currently active database. So, having according placeholders for the triggering DB would do the trick.

Thank you :)

Discussion

  • T. Bug Reporter

    T. Bug Reporter - 2022-10-25

    Add the Activate database (select tab) action to the beginning of your trigger, and select Triggering as the Filter.

     
    👍
    1
  • BigMike

    BigMike - 2022-10-26

    Thank you for the hint.

    Is there a possibility to restore the original active tab after executing the trigger?
    This would be comfortable, but it's not a must.

    Kind regards

     
  • Paul

    Paul - 2022-10-26

    Only if you know what the active database is/was. KeePass has no way to remember things on the fly.

    cheers, Paul

     

Log in to post a comment.

MongoDB Logo MongoDB