Re: [Gimp-user] script-fu: saving dialog choices

2010-09-12 Thread saulgoode
Quoting Alan Campbell gimp-u...@alancampbelllists.ukfsn.org: That's really an abuse of the gimprc though. So it's really only meant for GIMP and GIMP plugin settings? I agree with Sven that using gimprc for this purpose is inappropriate. Also it looks like once I've called gimp-gimprc-set,

Re: [Gimp-user] script-fu: saving dialog choices

2010-09-11 Thread Alan Campbell
On 10 Sep 2010 at 9:35, Rob Antonishen wrote: Ta for reply. use the https://bugzilla.gnome.org/show_bug.cgi?id=572865 Thanks, got that working. Instead of parasites consider using gimp_gimprc_set() and gimp_gimprc_query() which don't seem to have this issue. In Script-fu console

Re: [Gimp-user] script-fu: saving dialog choices

2010-09-11 Thread Sven Neumann
On Sat, 2010-09-11 at 16:53 +, Alan Campbell wrote: On 10 Sep 2010 at 9:35, Rob Antonishen wrote: https://bugzilla.gnome.org/show_bug.cgi?id=572865 Thanks, got that working. Instead of parasites consider using gimp_gimprc_set() and gimp_gimprc_query() which don't seem to have

Re: [Gimp-user] script-fu: saving dialog choices

2010-09-11 Thread Alan Campbell
On Sat, 2010-09-11 at 16:53 +, Alan Campbell wrote: On 11 Sep 2010 at 12:26, Sven Neumann wrote: In Script-Fu it's gimp-gimprc-set. Works, ta. That's really an abuse of the gimprc though. So it's really only meant for GIMP and GIMP plugin settings? Also it looks like once I've

Re: [Gimp-user] script-fu: saving dialog choices

2010-09-10 Thread Alan Campbell
Hi Saul, Many thanks for instant help. I'm trying to figure ut if there's any way that choices made by user in dialog widgets can be remembered and used as values of those widgets next time dialog runs. That is precisely how script dialogs currently behave; the last used values are

Re: [Gimp-user] script-fu: saving dialog choices

2010-09-10 Thread saulgoode
Quoting Alan Campbell gimp-u...@alancampbelllists.ukfsn.org: parasites are just what I need. Can't find much about them. (list WRF_BIT_WIDTH 1 (number-string bit-width))) First list member: parasite ID string. What's the second list member? Flags, I understand from one search result I

[Gimp-user] script-fu: saving dialog choices

2010-09-05 Thread Alan Campbell
Hi, I'm trying to figure ut if there's any way that choices made by a user in dialog widgets can be remembered and used as values of those widgets next time dialog runs. In most other scripting languages I'd save choices to somethng like an ini file, and retrieve stored ini file values before

Re: [Gimp-user] script-fu: saving dialog choices

2010-09-05 Thread saulgoode
Quoting Alan Campbell gimp-u...@alancampbelllists.ukfsn.org: Hi, I'm trying to figure ut if there's any way that choices made by a user in dialog widgets can be remembered and used as values of those widgets next time dialog runs. That is precisely how script dialogs currently behave; the