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

python-fu "Referesh Scripts"

This discussion is connected to the gimp-developer-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.

5 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

python-fu "Referesh Scripts" Joseph Heled 30 Nov 10:34
  python-fu "Referesh Scripts" Sven Neumann 30 Nov 11:36
   python-fu "Referesh Scripts" Sven Neumann 30 Nov 11:39
    python-fu "Referesh Scripts" Joseph Heled 30 Nov 11:48
    python-fu "Referesh Scripts" David Neary 30 Nov 12:32
Joseph Heled
2004-11-30 10:34:48 UTC (over 19 years ago)

python-fu "Referesh Scripts"

Perhaps a silly question, but is there a "Refresh Scripts" for python-fu?

-Joseph

Sven Neumann
2004-11-30 11:36:28 UTC (over 19 years ago)

python-fu "Referesh Scripts"

Hi,

Joseph Heled writes:

Perhaps a silly question, but is there a "Refresh Scripts" for python-fu?

It isn't needed. If you change your python script, GIMP will use the updated version next time you start it. Script-Fu needs a special function for this since the interpreter keeps running and needs to be told to reload the scripts. That's not the case with python-fu.

Sven

Sven Neumann
2004-11-30 11:39:41 UTC (over 19 years ago)

python-fu "Referesh Scripts"

Hi,

Sven Neumann writes:

It isn't needed. If you change your python script, GIMP will use the updated version next time you start it.

Next time you call the script, of course. This could have been misinterpreted as "next time you start GIMP".

Sven

Joseph Heled
2004-11-30 11:48:05 UTC (over 19 years ago)

python-fu "Referesh Scripts"

Thanks. Now that I realized I need to put the script in the plug-ins directory it makes perfect sense.

However, I learned that the hard way, first placing it in the scripts directory and not understanding why it is missing from the menu.

-Joseph

Sven Neumann wrote:

Hi,

Sven Neumann writes:

It isn't needed. If you change your python script, GIMP will use the updated version next time you start it.

Next time you call the script, of course. This could have been misinterpreted as "next time you start GIMP".

Sven

David Neary
2004-11-30 12:32:25 UTC (over 19 years ago)

python-fu "Referesh Scripts"

Hi,

Sven Neumann wrote:

Sven Neumann writes:

It isn't needed. If you change your python script, GIMP will use the updated version next time you start it.

Next time you call the script, of course. This could have been misinterpreted as "next time you start GIMP".

That said, all the scripts are read and installed at start-up, so if you add a new script, you will need to restart the GIMP (same as if you add a new plug-in).

Cheers, Dave.