GIMP Chat
http://gimpchat.com/

Script won't run the second time (solved)
http://gimpchat.com/viewtopic.php?f=9&t=18697
Page 2 of 2

Author:  MareroQ [ Thu Aug 27, 2020 11:38 am ]
Post subject:  Re: Script won't run the second time (solved)

OK - I confirm the error with the translation of the phrase
"Clipboard Mask" (I thought I solved it - but not quite).
For the time being, in the English version you have to do this (line 122-123):

    # pdb.gimp_context_get_brush (_ ("Clipboard Mask"))
    pdb.gimp_context_set_brush ("Clipboard Mask")

or instead of "Clipboard Mask" put a name in your own language.

Attachments:
Gimp In Language-fr.png
Gimp In Language-fr.png [ 6.71 KiB | Viewed 1921 times ]

Author:  mackenzieh [ Thu Aug 27, 2020 2:25 pm ]
Post subject:  Re: Script won't run the second time (solved)

MareroQ, With the new updates to Pocholo's plugin, are you doing to rename the plugin again? I as because the one I have is pm_pressed_icon_effect_ab and having all of these update would be a lot but then they would offer a lot of options.

Author:  Pocholo [ Thu Aug 27, 2020 3:43 pm ]
Post subject:  Re: Script won't run the second time (solved)

Wow my plugin keeps developing! MareroQ, I don't mind if you keep on doing you great work by developing this plugin. I just keep looking at the codes an leaning. :coolthup

Author:  mackenzieh [ Thu Aug 27, 2020 8:31 pm ]
Post subject:  Re: Script won't run the second time (solved)

I tried the pm_icon_pressed_effect_cm version of the plugin and I didn't get the text. All I got was an actual icon.
Image

Image

Author:  MareroQ [ Fri Aug 28, 2020 1:21 am ]
Post subject:  Re: Script won't run the second time (solved)

@Mackenzieh.

It worked badly because there was a bug (depending on the Gimp interface language :gaah ).
You asked a good question: both work (-ab and- cm) can run side by side - but why two plugins when they can be combined (-all: Pressed effect for text or brush).

@Pocholo.
I also only learn while having fun ;) - I dealt with a translation error (it's a very simple four lines of code :oops: ).

Attachments:
New options.png
New options.png [ 15.04 KiB | Viewed 1878 times ]
pm_icon_pressed_effect_all.zip [3.13 KiB]
Downloaded 77 times

Author:  mackenzieh [ Fri Aug 28, 2020 3:32 am ]
Post subject:  Re: Script won't run the second time (solved)

MareroQ wrote:
@Mackenzieh.

It worked badly because there was a bug (depending on the Gimp interface language :gaah ).
You asked a good question: both work (-ab and- cm) can run side by side - but why two plugins when they can be combined (-all: Pressed effect for text or brush).

@Pocholo.
I also only learn while having fun ;) - I dealt with a translation error (it's a very simple four lines of code :oops: ).


Oh, okay. I downloaded the latest plugin. Will the cm plugin fixed?

Author:  MareroQ [ Fri Aug 28, 2020 3:43 am ]
Post subject:  Re: Script won't run the second time (solved)

No - because the same functions are available in -all.

Author:  Erisian [ Fri Aug 28, 2020 4:59 pm ]
Post subject:  Re: Script won't run the second time (solved)

You guys have been working fast! I did this with an early version and a little Gimping, but it looks like I have to upgrade now. :hehe

Image

Author:  mackenzieh [ Fri Aug 28, 2020 6:48 pm ]
Post subject:  Re: Script won't run the second time (solved)

Here are my outcomes of the Text and Brush all plugin:
Text Icon:
Image

Pressed Icon 1:
Image

Pressed Icon 2:
Image
The pressed icon images, keep getting smaller and smaller when running the script more than once. Is that supposed to happen?

Author:  MareroQ [ Sat Aug 29, 2020 4:11 am ]
Post subject:  Re: Script won't run the second time (solved)

I added an icon of the type: circle.

Image

Image

Image

@Mackenzieh
I can't repeat this mistake and I need more information:
- does this happen for each brush?
- what type is this wilber brush (* .gbr) or (* .gih)?

Attachments:
pm_icon_pressed_effect_all2.zip [3.19 KiB]
Downloaded 59 times

Author:  mackenzieh [ Sat Aug 29, 2020 4:28 am ]
Post subject:  Re: Script won't run the second time (solved)

MareroQ wrote:
I added an icon of the type: circle.

[ Image ]

[ Image ]

[ Image ]

@Mackenzieh
I can't repeat this mistake and I need more information:
- does this happen for each brush?
- what type is this wilber brush (* .gbr) or (* .gih)?


You don't have to use the same brush I did. Any brush should work whether the extension is .gbr or .gih.

Author:  MareroQ [ Sat Aug 29, 2020 4:36 am ]
Post subject:  Re: Script won't run the second time (solved)

You did not answer any question. :ninja
An animated brush changes its appearance - and it can change the size as well.

Author:  mackenzieh [ Sat Aug 29, 2020 4:47 am ]
Post subject:  Re: Script won't run the second time (solved)

MareroQ wrote:
You did not answer any question. :ninja
An animated brush changes its appearance - and it can change the size as well.


To answer your question, it wasn't an animated wilber brush. The brush was a .gbr brush.

Author:  MareroQ [ Sat Aug 29, 2020 4:58 am ]
Post subject:  Re: Script won't run the second time (solved)

You really don't want to answer two questions?
I will not cry - I will only remember. :mrgreen:

Author:  mackenzieh [ Sat Aug 29, 2020 11:06 am ]
Post subject:  Re: Script won't run the second time (solved)

MareroQ wrote:
You really don't want to answer two questions?
I will not cry - I will only remember. :mrgreen:


I did answer it. You asked if the brush was animated or not and I gave an answer I don't know if it happens to all of my brushes. I'm not going to go through each one and try to test them out. (That would takes days... possibly longer.) It only happens to the one, that I am using at the time. Which extension is an animated brush? That way I can tell you if the brush I used was animated or not.

Author:  rich2005 [ Sat Aug 29, 2020 11:21 am ]
Post subject:  Re: Script won't run the second time (solved)

Quote:
... Which extension is an animated brush? That way I can tell you if the brush I used was animated or not..


An animated brush has a .gih suffix (gimp image hose)

....but you can tell from the brushes dock icons see: https://docs.gimp.org/2.10/en/gimp-brush-dialog.html

A red corner is for animated brushes. If you maintain left click on the thumbnail, the animation is played.

edit: do not be fooled by a small cross, just means the brush is larger than the icon

example https://i.imgur.com/Lp1VUys.mp4

Author:  mackenzieh [ Sat Aug 29, 2020 11:38 am ]
Post subject:  Re: Script won't run the second time (solved)

rich2005 wrote:
Quote:
... Which extension is an animated brush? That way I can tell you if the brush I used was animated or not..


An animated brush has a .gih suffix (gimp image hose)

....but you can tell from the brushes dock icons see: https://docs.gimp.org/2.10/en/gimp-brush-dialog.html

A red corner is for animated brushes. If you maintain left click on the thumbnail, the animation is played.



Oh, okay. Thanks. I've figured it out. :)

Author:  MareroQ [ Mon Aug 31, 2020 9:27 pm ]
Post subject:  Re: Script won't run the second time (solved)

It must have been on GimpChat (but I don't know where :hoh ).
Brushes (500 px) based on Social Media.ttf font.

Attachments:
Social media brushes.png
Social media brushes.png [ 179.78 KiB | Viewed 1972 times ]
Brushes gbr for Social Media.zip [501.94 KiB]
Downloaded 80 times

Author:  mackenzieh [ Tue Sep 01, 2020 12:05 am ]
Post subject:  Re: Script won't run the second time (solved)

MareroQ wrote:
It must have been on GimpChat (but I don't know where :hoh ).
Brushes (500 px) based on Social Media.ttf font.


I haven't seen these fonts on here.

Page 2 of 2 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/