[Gimp-user] small bug in GIMP 2.6.7, windows, SF-DIRNAME?

2011-03-19 Thread Alan Campbell
I was trying to find something to put in a SF-DIRNAME widget that would work on all platforms. I tried "/". Bad choice on *nix/Mac, cause it leaves you at root of file system. On windows, "/" is displayed as "\"; the parameter associated with the SF-DIRNAME displays with gimp-message as \, bu

[Gimp-user] fractional small-step for SF-ADJUSTMENT

2010-11-21 Thread Alan Campbell
(wrf_test inBoardWidth inBoardWith2) 0 ) (script-fu-register "wrf_test" "_A Test..." "Testing Menu Naming"; description "Alan Campbell" "no copyright" "today" "" ; adjustment: "title&qu

Re: [Gimp-user] script-fu-menu-register with space in folder name?

2010-10-31 Thread Alan Campbell
On Mon Oct 25 10:03:38 PDT 2010 Sven Neumann said: > > but if I try, subfolder "Joint Scripts" doens't appear > > Any way to get a space in a subfolder name? > Are you sure? I wonder how all the scripts in the "Alpha to Logo" > folder register themselves then. Perhaps you should register the >

[Gimp-user] script-fu-menu-register with space in folder name?

2010-10-24 Thread Alan Campbell
I'd like to do (script-fu-menu-register "some_func" "/File/Create/Joint Scripts") but if I try, subfolder "Joint Scripts" doens;t appear (script-fu-menu-register "some_func" "/File/Create/JointScripts") works fine. Any way to get a space in a subfolder name? gimp-plugin-menu-branch-register

[Gimp-user] (Fwd) Re: script-fu: underscore?; script-fu-regist

2010-10-17 Thread Alan Campbell
The version of my woodrat script I refrred to below works on Mac GIMP version 2.6.7 Ubuntu GIMP version 2.6.8 Win GIMP version 2.6 10 Haven't tried 2.6.11 yet. --- Forwarded message follows --- From: Alan Campbell To: gimp

Re: [Gimp-user] script-fu: underscore?; script-fu-register; script-fu-menu-register

2010-10-04 Thread Alan Campbell
On 4 Oct 2010 at 10:21:16 PDT saulgoode at flashingtwelve.brickfilms.com wrote: > It is not a problem with the branch register command not being > processed, but that branch registration seems to require that > plug-in be associated with it (see > 'plugin_menu_branch_register_invoker()' in > app

Re: [Gimp-user] script-fu: underscore?; script-fu-register; script-fu-menu-register

2010-10-03 Thread Alan Campbell
> > Always got the "Woodrat" folder under File | Create menu, no > > shortcut key indicated. On 3 Oct 2010 at 11:17:05, Sven Neumann wrote: > I am pretty sure that it theoretically should work this way. After > all the Script-Fu extension itself creates sub-menus this way and > those sub-menus d

Re: [Gimp-user] script-fu: underscore?; script-fu-register; script-fu-menu-register

2010-10-03 Thread Alan Campbell
Hi Sven, On 3 Oct 2010 at 14:19, Sven Neumann wrote: > On Sun, 2010-10-03 at 12:59 +0000, Alan Campbell wrote: > > One of uses of an underscore is to pick out the shortcut character > > in a menu item: > > > > (script-fu-register "wrdhb_create_half_blind_dovet

[Gimp-user] script-fu: underscore?; script-fu-register; script-fu-menu-register

2010-10-03 Thread Alan Campbell
One of uses of an underscore is to pick out the shortcut character in a menu item: (script-fu-register "wrdhb_create_half_blind_dovetail" "_Half blind dovetail..." ;menu label "Create Template for Half blind Dovetail" ) There also appears to be (script-fu-register "wrdhb_create_ha

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 p

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

[Gimp-user] dependant scm files and script-fu load

2010-09-10 Thread Alan Campbell
I have several scm files; they all live in a single folder (which is on GIMP search path for scripts). I have common code for three of the scripts which all goes into a fourth. A fifth has defines which user of scripts may wsh to alter; the fourth script depends on it. If I just leave nature

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 value

[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] gimp-image-set-unit ineffective on 2.67 for windows

2009-11-03 Thread Alan Campbell
eference I should change? > On Sun, 2009-11-01 at 18:38 +, Alan Campbell wrote: > > I'm trying to get a script to generate an image with default units > > (as displayed in status bar at bottom of image window) > > to be mm instead of pixels. My script does > The un

[Gimp-user] gimp-image-set-unit ineffective on 2.67 for windows

2009-11-01 Thread Alan Campbell
Hi, I'm trying to get a script to generate an image with default units (as displayed in status bar at bottom of image window) to be mm instead of pixels. My script does (gimp-image-set-unit 2) and I've even set default image grid (in preferences) in mm. No joy. Can it be done? Short exchang