RSS/Atom feed Twitter
Site is read-only, email is disabled

Execution error for procedure 'gimp-file-save': Unknown file type

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

Execution error for procedure 'gimp-file-save': Unknown file type Keith Christian via gimp-user-list 30 Apr 14:04
  Execution error for procedure 'gimp-file-save': Unknown file type Cliff Pratt via gimp-user-list 01 May 01:38
  Execution error for procedure 'gimp-file-save': Unknown file type Cliff Pratt via gimp-user-list 01 May 01:54
Keith Christian via gimp-user-list
2020-04-30 14:04:56 UTC (almost 4 years ago)

Execution error for procedure 'gimp-file-save': Unknown file type

Trying to run a script that will save all open Gimp windows named "[Untitled] - 1.0 (RGB color....." after a rapid screenshot session.

I found an older script which has this command but it fails in Gimp 2.10.4 on Windows 10: (probably due to the new Gimp version,not the underlying OS.)

gimp-file-save RUN-NONINTERACTIVE

Is there another script available that will do this, or, is there another command for 2.10.4 that will allow this script to run?

It would be nice if the script asked for a path, then saved the open windows with a unique filename to avoid filename collisions.

Thanks everyone.

Keith

Cliff Pratt via gimp-user-list
2020-05-01 01:38:46 UTC (almost 4 years ago)

Execution error for procedure 'gimp-file-save': Unknown file type

On Fri, May 1, 2020 at 2:05 AM Keith Christian via gimp-user-list < gimp-user-list@gnome.org> wrote:

Trying to run a script that will save all open Gimp windows named "[Untitled] - 1.0 (RGB color....." after a rapid screenshot session.

I found an older script which has this command but it fails in Gimp 2.10.4 on Windows 10: (probably due to the new Gimp version,not the underlying OS.)

gimp-file-save RUN-NONINTERACTIVE

Is there another script available that will do this, or, is there another command for 2.10.4 that will allow this script to run?

It would be nice if the script asked for a path, then saved the open windows with a unique filename to avoid filename collisions.

Thanks everyone.

Keith _______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list

Why would you think that a script for an earlier version would work on a later version?

Did you look at the script to see why it is behaving as it does?

Cheers,

Cliff

My Amazon author page : https://amazon.com/author/cliffpratt
My Facebook author page : https://www.facebook.com/cliffprattauthor
My Search on Kobo : https://www.kobo.com/search?query=Cliff+Pratt
Cliff Pratt via gimp-user-list
2020-05-01 01:54:33 UTC (almost 4 years ago)

Execution error for procedure 'gimp-file-save': Unknown file type

A quick look at a code snippet I found. It does this:

(gimp-file-save RUN-NONINTERACTIVE image layer file-name file-name)

So 'gimp-file-save' apparently takes parameters (at least, in the version of GIMP that the script is written for.

You would probably have to wrap the gimp-file-save in a script that supplies the parameters for the call, something like this:

https://www.wiki.gimp.org/wiki/Hacking:Code_Snippets/Script-Fu

Cheers,

Cliff

On Fri, May 1, 2020 at 2:05 AM Keith Christian via gimp-user-list < gimp-user-list@gnome.org> wrote:

Trying to run a script that will save all open Gimp windows named "[Untitled] - 1.0 (RGB color....." after a rapid screenshot session.

I found an older script which has this command but it fails in Gimp 2.10.4 on Windows 10: (probably due to the new Gimp version,not the underlying OS.)

gimp-file-save RUN-NONINTERACTIVE

Is there another script available that will do this, or, is there another command for 2.10.4 that will allow this script to run?

It would be nice if the script asked for a path, then saved the open windows with a unique filename to avoid filename collisions.

Thanks everyone.

Keith _______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list

My Amazon author page : https://amazon.com/author/cliffpratt
My Facebook author page : https://www.facebook.com/cliffprattauthor
My Search on Kobo : https://www.kobo.com/search?query=Cliff+Pratt