Re: [GNC] User-defined commands

2022-11-30 Thread Christopher Lam
On Wed, 30 Nov 2022 at 15:55, Helmut Eller wrote: On Tue, Nov 29 2022, john wrote: > See the definition of gnc:add-report-template-menu-item at https:// > github.com/Gnucash/gnucash/blob/maint/gnucash/gnome/report-menus.scm# > L42 for example code. It's all specialized for report

Re: [GNC] User-defined commands

2022-11-29 Thread Helmut Eller
On Tue, Nov 29 2022, john wrote: > Is this possible? Is it documented somewhere? > > > Yes, it's possible. No, it's not documented. > > See the definition of gnc:add-report-template-menu-item at https:// > github.com/Gnucash/gnucash/blob/maint/gnucash/gnome/report-menus.scm# > L42 for example

Re: [GNC] User-defined commands

2022-11-29 Thread john
> On Nov 29, 2022, at 4:40 AM, Helmut Eller wrote: > > Is there some easy way to add user-defined commands to the menus? > > I wrote some Scheme code for various tasks and currently I execute this > code via custom reports as a side effect. This works, but it would be > nicer if I could

[GNC] User-defined commands

2022-11-29 Thread Helmut Eller
Is there some easy way to add user-defined commands to the menus? I wrote some Scheme code for various tasks and currently I execute this code via custom reports as a side effect. This works, but it would be nicer if I could create proper menu items for these commands. Ideally, the command