Re: [Gimp-user] plug-in vs. script
Hi, On Fri, 2007-10-05 at 12:40 -0400, Kevin Cozens wrote: > If the file ends in .scm, it is a Script-Fu script and it belongs in the > scripts directory. Yes, that folder should have been called "script-fu" in the first place as only Script-Fu scripts go there. But for historical reasons it's "scripts". Sven ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] plug-in vs. script
On 10/5/07, Bettina Lechner <[EMAIL PROTECTED]> wrote: > please, what is the difference between a plug-in and a script? I am asking > because I never know if I should copy a plug-in (e.g. from the > registry.gimp.org - site) in to the plug-in or the script folder. In answer to the main point of the Bettina's message, it is easy to know what you need to do with items you get from the plug-in registry, and in which directory to put the files so you will be able to use them in GIMP. If the file ends in .scm, it is a Script-Fu script and it belongs in the scripts directory. If the file ends in .c, it is a C-coded source file which needs to be compiled (typically using gimptool if its a single file). The compiled file is an executable that will go in the plug-ins directory. Everything else will go in to the plug-ins directory. David Gowers wrote: > A plugin is an executable - ie. it's a program you can run, like you > can run Inkscape or GIMP. > A script is a set of text instructions which are run by a script > interpreter (script-fu). For the most part, what David wrote is true. To muddy the waters a bit, when it comes to GIMP, text instructions in a file written using the Ruby, Perl, or Python languages, which makes them technically scripts, are plug-ins when it comes to GIMP and need to be put in the plug-ins directory. They should also be marked executable (when running GIMP under Linux). -- 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 | -Pinkutus & the Borg ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] plug-in vs. script
> Von: "David Gowers" <[EMAIL PROTECTED]> > Thus, it's easy to tell the difference: > * If it has a .scm extension, it's a script > * Failing that, if you can open it in a text editor and it looks > somewhat readable, it's a script. So unless we get some plugins written in e.g. Brainfuck or Piet, everything is a script? SCNR, Michael -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
Re: [Gimp-user] plug-in vs. script
A plugin is an executable - ie. it's a program you can run, like you can run Inkscape or GIMP. A script is a set of text instructions which are run by a script interpreter (script-fu). Thus, it's easy to tell the difference: * If it has a .scm extension, it's a script * Failing that, if you can open it in a text editor and it looks somewhat readable, it's a script. On 10/5/07, Bettina Lechner <[EMAIL PROTECTED]> wrote: > hi gimpusers! > > please, what is the difference between a plug-in and a script? I am asking > because I never know if I should copy a plug-in (e.g. from the > registry.gimp.org - site) in to the plug-in or the script folder. I'ts > always a try and error thing. And most of the times it's working when I am > copying the plug-in into the scripts folder. but what is then a plug-in? > > thanks for explanations, > tina > > -- > > newhouse - new media > Bettina Karena Lechner > neue str 16, 2565 neuhaus > austria > > mobil: +43 660 46 25 0 25 > tel.: +43 26 74 878 72 > fax: +43 2674 878 81 > mailto:[EMAIL PROTECTED] > www.newhouse.at > --- > Der Anfang ist die Hälfte des Ganzen. > Aristoteles (384 - 322 v. Chr) > > > ___ > Gimp-user mailing list > Gimp-user@lists.XCF.Berkeley.EDU > https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user > ___ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user