On the Macintosh, many (most?) applications have a script api where they can be controlled by AppleScript. There is a Required Suite (open, print, quit, run), a Standard Suite (close, count, exists, ...) and then specialised suites for each application. The key is that the Required and Standard suites are the same over many different applications. Cuts down on learning time. Also once you have a control script working, it is easier to move it over to another application.
Seems like this might be an interesting proposal for Gnome - an GnuCash could be one of a group of applications moving toward a common implementation. The script language does not have to be guile. It could be perl, ruby, whatever - as long as the api is accessible in those languages. BobG >Well, the C re-write is only for the QIF importer. I do think that >exporting a non-GUI "open file" API to scheme would be a Good Thing. > >-derek > >David Bottomley <[EMAIL PROTECTED]> writes: > >> Thanks, anyhow. >> Such a great tool -- I just want a little more from it. >> Maybe Derek's c-re-write is a good option. >> >> >>> Hi, >> >>> Writing a script like this _should_ be possible. The only major >>> problem that I can think of is the lack of an "open file" api without >>> the associated GUI code, meaning I don't think you can write a script >>> that opens a file without also initializing the GUI code. >>> >>> The perl bindings fell into disrepair years ago and nobody has been >>> willing to maintain them. >>> >>> Unfortunately I don't know of any example scripts that would do what >>> you want. Sorry. >> >> --- >> Outgoing mail is certified Virus Free. >> Checked by AVG anti-virus system (http://www.grisoft.com). >> Version: 6.0.809 / Virus Database: 551 - Release Date: 12/9/2004 >> >> >> >> > >-- > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory > Member, MIT Student Information Processing Board (SIPB) > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH > [EMAIL PROTECTED] PGP key available >_______________________________________________ >gnucash-devel mailing list >[EMAIL PROTECTED] >https://lists.gnucash.org/mailman/listinfo/gnucash-devel _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] https://lists.gnucash.org/mailman/listinfo/gnucash-devel