Post Reply 

Color menuitems in script or plugin

Sep 15, 2014, 05:10
Post: #1
Color menuitems in script or plugin
Would like to be able to color red specific menuitems of some of my most used for easy find.

Is there a way to add
color: red !important;
into a script or plugin for only that specific script/plugin menuitem.
Thankyou.
Find all posts by this user
Quote this message in a reply
Sep 15, 2014, 06:23
Post: #2
RE: Color menuitems in script or plugin
Oh... so disappointed.
Well the keyboard shortcut thing doesn't work for me, too difficult to remember them and the easy "short" shortcuts I have already assigned for most important tasks that are not scripts/plugins.

Hoping in a future version some method for the specific menuitem coloring will be possible.

Thankyou ofnuts
Find all posts by this user
Quote this message in a reply
Sep 15, 2014, 08:09 (This post was last modified: Sep 15, 2014 08:49 by rich2005.)
Post: #3
RE: Color menuitems in script or plugin
No colour, but you could maybe create a bespoke menu item for your most favourite scripts, .scm or .py which are text. Compiled plugins not so easy. Maybe a second one for next favourite.

Use a decent text editor, find existing menu entry, duplicate it, then edit it, then comment (#) out the original. Important to keep the indents (spacing) the same as the original.

Here are 2 scm's and 2 .py's in a new drop down.

[Image: fRGIP7p.jpg]

Code:
examples

#(script-fu-menu-register "script-fu-auto-rotate" "<Image>/Layer" )
(script-fu-menu-register "script-fu-auto-rotate" "<Image>/Favourites/Auto-Rotate" )

or

#  menu="<Image>/Filters/Enhance",
  menu="<Image>/Favourites/Enhance",

If you try this, avoid duplicated scripts and edit, then try one at a time. Mistakes are very easy to make.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Run script on action rchav 2 64 Aug 13, 2018 14:57
Last Post: rchav
  Script Fu Errors Gimp 2.10.4 lightsaber jd3481 1 184 Aug 2, 2018 05:13
Last Post: paynekj
  Script-fu script to conversion pdf to image 4ever 12 5,632 Jul 17, 2018 16:01
Last Post: paynekj
  GIMP Resynthesizer Plugin not working Mikkel Andersen 1 457 Jun 26, 2018 16:36
Last Post: paynekj
  Gimp 2.10 with old vignette from Plugin registry. DenisT 2 312 May 19, 2018 20:42
Last Post: DenisT

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS