It is currently Sun Jun 30, 2024 10:12 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 39 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Thu Aug 27, 2020 11:38 am  (#21) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
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 1907 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Thu Aug 27, 2020 2:25 pm  (#22) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
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.


Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Thu Aug 27, 2020 3:43 pm  (#23) 
Offline
GimpChat Member

Joined: Jul 28, 2018
Posts: 1196
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

_________________
https://www.deviantart.com/pocholo17
Image


Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Thu Aug 27, 2020 8:31 pm  (#24) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
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


Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Fri Aug 28, 2020 1:21 am  (#25) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
@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 1864 times ]
pm_icon_pressed_effect_all.zip [3.13 KiB]
Downloaded 76 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Fri Aug 28, 2020 3:32 am  (#26) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
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?


Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Fri Aug 28, 2020 3:43 am  (#27) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
No - because the same functions are available in -all.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Fri Aug 28, 2020 4:59 pm  (#28) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7315
Location: Göteborg at last!
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


Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Fri Aug 28, 2020 6:48 pm  (#29) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
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?


Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Sat Aug 29, 2020 4:11 am  (#30) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
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

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Sat Aug 29, 2020 4:28 am  (#31) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
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.


Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Sat Aug 29, 2020 4:36 am  (#32) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
You did not answer any question. :ninja
An animated brush changes its appearance - and it can change the size as well.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Sat Aug 29, 2020 4:47 am  (#33) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
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.


Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Sat Aug 29, 2020 4:58 am  (#34) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
You really don't want to answer two questions?
I will not cry - I will only remember. :mrgreen:

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Sat Aug 29, 2020 11:06 am  (#35) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
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.


Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Sat Aug 29, 2020 11:21 am  (#36) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2435
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

_________________
Image


Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Sat Aug 29, 2020 11:38 am  (#37) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
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. :)


Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Mon Aug 31, 2020 9:27 pm  (#38) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
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 1958 times ]
Brushes gbr for Social Media.zip [501.94 KiB]
Downloaded 80 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Script won't run the second time (solved)
PostPosted: Tue Sep 01, 2020 12:05 am  (#39) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
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.


Top
Post new topic Reply to topic  [ 39 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Time to update your script-fu...

3

No new posts Attachment(s) Wanted Part-time/full-time Moderators

64

No new posts Seeing the Stars for the first time

3

No new posts Time For A New Wilber

2

No new posts What a time to be alive.

8



* Login  



Powered by phpBB3 © phpBB Group