Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Re: Script won't run the second time (solved)

Thu Aug 27, 2020 11:38 am

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):

Code:
    # 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.

Re: Script won't run the second time (solved)

Thu Aug 27, 2020 2:25 pm

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.

Re: Script won't run the second time (solved)

Thu Aug 27, 2020 3:43 pm

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

Re: Script won't run the second time (solved)

Thu Aug 27, 2020 8:31 pm

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

Re: Script won't run the second time (solved)

Fri Aug 28, 2020 1:21 am

@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: ).

Re: Script won't run the second time (solved)

Fri Aug 28, 2020 3:32 am

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?

Re: Script won't run the second time (solved)

Fri Aug 28, 2020 3:43 am

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

Re: Script won't run the second time (solved)

Fri Aug 28, 2020 4:59 pm

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

Re: Script won't run the second time (solved)

Fri Aug 28, 2020 6:48 pm

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?

Re: Script won't run the second time (solved)

Sat Aug 29, 2020 4:11 am

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)?

Re: Script won't run the second time (solved)

Sat Aug 29, 2020 4:28 am

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.

Re: Script won't run the second time (solved)

Sat Aug 29, 2020 4:36 am

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

Re: Script won't run the second time (solved)

Sat Aug 29, 2020 4:47 am

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.

Re: Script won't run the second time (solved)

Sat Aug 29, 2020 4:58 am

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

Re: Script won't run the second time (solved)

Sat Aug 29, 2020 11:06 am

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.

Re: Script won't run the second time (solved)

Sat Aug 29, 2020 11:21 am

... 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

Re: Script won't run the second time (solved)

Sat Aug 29, 2020 11:38 am

rich2005 wrote:
... 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. :)

Re: Script won't run the second time (solved)

Mon Aug 31, 2020 9:27 pm

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

Re: Script won't run the second time (solved)

Tue Sep 01, 2020 12:05 am

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.
Post a reply