Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Segregating two triggers events

Rallimann
2014-04-20
2014-04-20
  • Rallimann
    Rallimann
    2014-04-20

    Hi,
    I created two triggers:
    - The first one is based on the event 'Application started and ready' and syncs my local file with a remote server.
    - The second one is based on the event 'Database saved' to do the same.

    My problem: After startinf Keepass the first trigger saves the database after the sync operation and then triggers the second one although nothing changed.
    How can I prevent Keepass from performing the second trigger when it has been started?

    Cheers,
    Ralf

     
    Last edit: Rallimann 2014-04-20
  • steelej
    steelej
    2014-04-20

    The trigger on event Database saved can be disabled while the Application started event is running and then re-enabled as the final step in the application started event.

    Look at Change trigger on/off state in:

    http://keepass.info/help/v2/triggers.html

     
  • Paul
    Paul
    2014-04-20

    A sync is also a save - the database is saved after the sync.

    cheers, Paul