Several sets of accounts

John Ralls jralls at ceridwen.us
Mon Jan 11 16:19:05 EST 2010


On Jan 11, 2010, at 12:42 PM, Johan wrote:

> Op 11 jan 2010, om 16:09 heeft James Wilde het volgende geschreven:
> 
>> On Jan 11, 2010, at 16:06 , John Ralls wrote:
>> 
>>> Unfortunately, that doesn't work on the mac because OSX uses an Apple Event to pass the open file command to the application. Gnucash doesn't yet understand Apple Events. It's something I'm looking into.
>> 
>> Thanks, John.  So I guess I open GC with the last file used, and use the recent file list under File or File/Open or the Open button.
> You could use an AppleScript applet to associate GnuCash files with an app(let).
> 
> Attached is a proof of concept. It has some overhead and doesn't accept spaces in the filename. All this because it is a quick hack of my own GC script. Open it in Scripteditor, save it as applet (without initial window) and associate your .gc files to it (using Finder info window)
> 
> Regards,
> Johan
> 
> <GnuCashPOF.scpt>
> 
> 
> 

Thanks, that's a great start. Unfortunately it's for Macports and limited to Tiger.  

You can fix the "no spaces" limitation by using "quoted form of POSIX path" instead of just "POSIX path".

Regards,
John Ralls


More information about the gnucash-user mailing list