GimpTalk Announcement :
Try your digital-art skills against your fellow gimpers in GIMPtalk's Biweekly Art competition !


Board index Web Development Services . Convert FLV to Cell Phone Format
Featured Tutorial : Learn how to create characters by Griatch
Search for :  
  Posted by gothica On March 01, 2010 | Total views : 263 | Total Replies : 4

I'd like to:
1. User opens image in gimp
2. Then he press hot key and executing script.

In the script i'd like to get filename (for example "picture.jpg) and pass it to parameters

Code:

(script-fu-register "script-fu-anketa"
        "<Toolbox>/Script-Fu/anketa"
        "Обработка анкеты"
        "www.gimp.org"
        "made with gimp"
        "27 February 2010"
        ""
        SF-IMAGE "Image" 0
        SF-DRAWABLE "Drawable" 0
   SF-VALUE "Filename" "Original_image_filename"
)


So how can i pass it to script-fu-register function:
for example it would be:
Code:

(script-fu-register "script-fu-anketa"
        "<Toolbox>/Script-Fu/anketa"
        "Обработка анкеты"
        "www.gimp.org"
        "made with gimp"
        "27 February 2010"
        ""
        SF-IMAGE "Image" 0
        SF-DRAWABLE "Drawable" 0
        SF-VALUE "Filename" "picture.jpg"
)


Welcome to GimpTalk !

GimpTalk is a premier community of Gimp users. This community has very talented desginers, graphics artists and photographers, producing high quality graphics and helping the new users of gimp. We request and encourage all the users to particpate in the forums and post quality work in the form of tutorials, articles or artwork in Art Galleries.

GT Sponsors : XiTalk Forum . API Talk . Free Flv Player

Acai Berry Diet
. Free Ringtones

    

Recently posted Official Tutorials

  • ZeroMission Tag Tutorial
  • 3D Text using Environment Mapping
  • Cross-eye Stereoimages in GIMP
  • Make Opals with Plasma
  • Spectral Image
  • Mother of pearl with silver jewelry tut, also t..
  • Animated Painting - Using Animated Path Strokin..
  • a cool PS tutorial (does NOT need to be transla..
  • Animated Route Along a Map
  • Simple Animated Shapes - Using Animated Path St..
  • Graphics - Survival Guide
  • Animated Highlights Using "Move Layer"..
  • Spinning Pole Animation
  • 3D Penetration Text
  • How to Change Gimp Theme and Font (On Windows )


    Recently contributed tutorials by users

  • Solid Snake Tutorial
  • A Quick GMIC trick
  • Anime sig tut
  • Rusted Text
  • Kid Cudi sig tut
  • Yoshi Tutorial
  • A Simple Speedometer
  • A Realistic gear in GIMP
  • easy starfield tutorial
  • Download Icon
  • Yoko Tag Tutorial
  • tannergimptuts.blogspot.com
  • simple render glow tut
  • Yhunata's Serah tutorial
  • Rainbow Spectrum Video Tutorial


    Recently added Gimp plugins, filters and scripts

  • High GIMP CPU Utilization from Matching Ants
  • How to select blue lines that are within a blac..
  • Run a script from a file in Linux
  • (SOLVED) Save jpeg with current image settings
  • Batch on MAC
  • GAP script framework?
  • Some help and a few questions
  • batch cut-and-paste script?
  • script-fu problem with map-object
  • catch statement not working for this error
  • Related Website
    Gimp tutorials database
    All rights reserved © GimpTalk 2008
    forum software by
    phpBB