Re: [Gimp-user] register scm script
El Monday 05 May 2008 02:39:57 Kevin Cozens va escriure: Xavier Mas wrote: I can't register the following script when I refresh the server and don't know what's wrong with it. Any suggestions? --- define (uni-img size color) You are missing the ( before 'define' but I will assume that is just a cut and past error. (script-fu-menu-register uni-img Toolbox/Script_Fu/Tutorials) I would suggest Toolbox/Xtns/Script-Fu/Tutorials if you are using GIMP 2.4. Rigth, this is wrong. Thanks Kevin. Cheers, -- Xavier Mas ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
[Gimp-user] register scm script
Hi list, I can't register the following script when I refresh the server and don't know what's wrong with it. Any suggestions? --- define (uni-img size color) (set! img (car (gimp-image-new- size size RGB))) (set! layer (car (gimp-layer-new img size size RGB layer 1 100 NORMAL))) (gimp-image-undo-disable img) (gimp-image-add-layer img layer 0) (gimp-palette-set-background color) (gimp-edit-fill layer BG-IMAGE-FILL) (gimp-display-new img) (gimp-image-undo-enable img)) (script-fu-register uni-img uni-img uni-img uni-img [EMAIL PROTECTED] uni-img 04/05/2008 SF-VALUE size 100 SF-COLOR color '(255 127 0)) (script-fu-menu-register uni-img Toolbox/Script_Fu/Tutorials) -- Thank you for your help. -- Xavier Mas ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] register scm script
Xavier Mas wrote: I can't register the following script when I refresh the server and don't know what's wrong with it. Any suggestions? --- define (uni-img size color) You are missing the ( before 'define' but I will assume that is just a cut and past error. (script-fu-menu-register uni-img Toolbox/Script_Fu/Tutorials) I would suggest Toolbox/Xtns/Script-Fu/Tutorials if you are using GIMP 2.4. -- Cheers! Kevin. http://www.ve3syb.ca/ |What are we going to do today, Borg? Owner of Elecraft K2 #2172 |Same thing we always do, Pinkutus: | Try to assimilate the world! #include disclaimer/favourite | -Pinkutus the Borg ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user