Can I do this?

Dave Peticolas dave@krondo.com
12 Jul 2001 00:19:25 -0700


On 11 Jul 2001 11:07:33 -0700, Brian McAndrews wrote:
> First off, I'm trying to move over from Quicken.  I
> basically just use it as a glorified checkbook, but it
> does help me to easily reconcile my statements.  Also,
> I theoretically manage my budgets:)
> 
> My bank lets me download to Quicken either with
> WebConnect or to a QIF file.
> 
> Here's what I want to try: 
> 
> On startup, have GNUCash check to see if there's a QIF
> file in a well known place.  If one exists, let me
> make the choice whether or not I want to import this
> file.
> 
> Also, I'd like to have GNUCash bring up my "default"
> register at startup.
> 
> Is this all feasible.  (Can I extend this using
> guile?)

I believe the first is doable in scheme, the second
might require adding a few C calls to the functions
that are wrapped in scheme to make it possible.

GnuCash will try to load config.user before loading
config.auto (where the preferences are stored). You
can put scheme code in there to add a 'book-opened
hook' which gets run after a file is loaded. If you
do use config.user, you will need to load config.auto
manually.

dave