
   (script-fu-register
        "script-fu-for-gmic"  ;func name
        "for-gmic "    ;menu label
        " "    ;description
        " "    ;author
        " "    ;copyright notice
        " "    ;date created
        "*"    ;image type that the script works on
        SF-IMAGE    "Image"                 0
        SF-DRAWABLE "Drawable"              0
    )
    (script-fu-menu-register "script-fu-for-gmic" "<Image>/Tools")
    (define (script-fu-for-gmic image drawable )

        ;start
        (gimp-context-push)
        (gimp-image-undo-group-start image)

        ;put your gmic procedures here, between the quotes

;    (plug-in-gmic-qt 1 image (vector drawable) 1 0 " ")

    (plug-in-gmic-qt 1 image (vector drawable) 1 0 "fx_simulate_film 8,1,1,1,1,1,1,1,1,15,512,100,0,0,0,0,0,3,0,50,50")

    (plug-in-gmic-qt 1 image (vector drawable) 1 0 "fx_frame 0,100,0,100,2,2,255,255,255,255,0,255,255,255,255 ")

    (plug-in-gmic-qt 1 image (vector drawable) 1 0 "fx_array 1,4,0,0,0,1 ")

        ;finish
        (gimp-image-undo-group-end image)
        (gimp-context-pop)
        (gimp-displays-flush)
    )

