The full source code (modified version of sample from MoneyDance web site)
moneydance-whatsleft-9-src.zip
Just the extension:
whatsleft.zip
Known issue: Not sure how to deal with future dated transactions already enterred.
Update v6-v9: Fixed small bugs which caused inaccurate calculations under certain circumstances.
update v5: Fixed issue where no bills between now and payday
Update: v4., Made slightly more user friendly when no info given it now gives an explanation why so it can be corrected (i.e. no income scheduled, please schedule).
Update: v3., Fixed issue with reminders already recorded
Update: v2., Fixed issue with income reminder on date running the app
What it does:
For any bank account (not credit cards, loans, etc.), it will look at your current balance, look at your upcoming transaction reminders, and tell you what is left until next income, and how many days away that next income is. Using that information, it also gives you how much you have per day for each day left (simple division of amount left divided by days until payday).
This presumes you :
1. Use reminders for ALL your bills
2. Use reminders for your regular income
Also, it does not update until you reopen it from the extension menu, it does not 'listen' yet to transactions as they happen and update, though doing that if desired probably wouldn't require much more work (Just add listener handlers for transactions and reminders which call 'update' function.
It only looks up to 60 days ahead at this time.