List Future Reminders Feature Request - Skip Reminders

Kevin Stembridge's Avatar

Kevin Stembridge

29 Dec, 2022 12:04 AM

Hi Stuart,

Has anyone ever requested the ability to skip multiple reminders in your List Future Reminders extension?

Every week I have a bunch of reminders that I have to manually skip one at a time. I'd like to be able to select all of them and then one-click to skip.

I'd be happy to provide a pull request for this if you point me at your repository.

Cheers,
Kevin

  1. 1 Posted by Stuart Beesley ... on 29 Dec, 2022 06:47 PM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Hmm....

    GIT repo is here:
    https://github.com/yogi1967/MoneydancePythonScripts/blob/master/sou...

    Happy for you to take a look... Just be warned this was one of the first extensions I cobbled together when I didn't know any Python or Java.... So, it's not written how I would write it from scratch.

    The obvious change would be line: 4382 to change to:

    GlobalVars.saveJTable.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION)
    

    But this alone won't work.... Tips/pointers:
    - You will see the code loops. Each time a certain even is triggered then the data mode is rebuilt and the JTable recreated. - The various commands are geared around a single reminder selection (e.g. .getSelectedRow()). The selected obj is saved and reused.

    Of course, dead easy to embed a hidden CMD-KEY to just do what you are after; or perhaps a menu option to skip all reminders; but would ALSO prefer the ability for the user to select multiple rows, right click, and select skip reminder.

    Thoughts?

  2. 2 Posted by Kevin Stembridg... on 29 Dec, 2022 07:16 PM

    Kevin Stembridge's Avatar

    Hi Stu,

    Thanks for getting back to me.

    I feel like an idiot. I didn't realise it was written in Python. I'm afraid I wouldn't know where to start.

    Apologies for the distraction.

    Regards,
    Kevin

  3. 3 Posted by Stuart Beesley ... on 29 Dec, 2022 07:29 PM

    Stuart Beesley (Mr Toolbox)'s Avatar

    It's Jython and very interchangeable with java...

    ;->

  4. 4 Posted by Stuart Beesley ... on 29 Dec, 2022 09:06 PM

    Stuart Beesley (Mr Toolbox)'s Avatar

    I’ll do something for you over the next week.

  5. 5 Posted by Kevin Stembridg... on 29 Dec, 2022 10:07 PM

    Kevin Stembridge's Avatar

    That would be very kind but don't worry at all if you don't get around to it.

  6. 6 Posted by Stuart Beesley ... on 01 Jan, 2023 05:26 PM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Hi Kevin,

    OK, I rigged up something. Latest PREVIEW (1019) here:
    https://github.com/yogi1967/MoneydancePythonScripts/raw/master/list...

    To activate, click CMD-K....

    Once you say OK, then it will go an skip the next occurrence of all reminders..

    I've limited the possible skipping to dates less than today + x days (where x = Look forward days set in the extension). Default is 365..

    Now I think there could be some issues with this.... Depending on your setup... I can see how if all your reminders are monthly, then makes sense.. But what if some are weekly? Perhaps there's some parameters we need to set

    Have a play. PLEASE BACKUP FIRST AND USE TEST SYSTEM!!

    Perhaps email me with feedback, to discuss further at:

    or DM me on Slack

  7. 7 Posted by Stuart Beesley ... on 02 Jan, 2023 05:16 PM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Kevin, any thoughts?

  8. 8 Posted by Kevin Stembridg... on 03 Jan, 2023 12:10 AM

    Kevin Stembridge's Avatar

    Hi Stuart,
    I haven't had a chance to look at it yet.
    I might not get time until this weekend I'm afraid.

  9. 9 Posted by Stuart Beesley ... on 29 Jan, 2023 04:47 PM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Kevin. Did you try this? Thx.

  10. 10 Posted by Kevin Stembridg... on 29 Jan, 2023 05:28 PM

    Kevin Stembridge's Avatar

    Hi Stuart,

    Thanks for the reminder. I still haven't taken a look at it yet. It's one of many, many things on my to do list that I'm not getting around to. :(

    I'm still interested though. Just need to find some time.

  11. System closed this discussion on 30 Apr, 2023 05:30 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

23 Apr, 2024 05:42 PM
23 Apr, 2024 04:50 PM
23 Apr, 2024 04:40 PM
23 Apr, 2024 04:36 PM
23 Apr, 2024 04:04 PM