Is there a way to "Clear all contents/delete all transactions" for a fresh start?

Derek Atkins warlord at MIT.EDU
Fri Nov 4 10:29:17 EDT 2016


John Ralls <jralls at ceridwen.us> writes:

> That would require that he start from the command line by specifying
> the path to the executable, which doesn't engage Launch Services and
> so doesn't send the NSApplicationOpenFile notification (the one that
> GnuCash doesn't know how to interpret). The `open` command doesn't
> pass command-line arguments, it is equivalent to double-clicking on
> the file in Finder so it would pass NSApplicationOpenFile if you ran
> `open foo.gnucash` on the command line.

So.... how hard would it be to get GnuCash to handle the
NSApplicationOpenFile notification?  I'm curious what it would
entail/require, as I have no idea.

> FWIW, you can pass the path to the file you want to open on the
> command line, e.g. `/path/to/gnucash foo.gnucash`. That works fine on
> all platforms.
>
> Regards,
> John Ralls

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-derek

-- 
       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
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list