Page 1 of 1

keyboard shortcut for different color image marks

Posted: 23 May 2013, 08:43
by Joost
I would like to be able to make a keyboard shortcut (or a custom button) for the different color image marks.
Now I only use the one standard color because it's too much work to choose a different color (right mouse button> image mark > set mark> choose color)

Or is there already an option to create a keyboard shortcut for this?...

Re: keyboard shortcut for different color image marks

Posted: 23 May 2013, 14:28
by Lukas
Use this, note that the colors you use are the same as the colors chosen to use as layercolors.

Re: keyboard shortcut for different color image marks

Posted: 23 May 2013, 14:31
by Joost
Thanks Lukas!

Re: keyboard shortcut for different color image marks

Posted: 28 May 2013, 16:08
by Svengali
Hi Lucas,
Thank you for this set. Check your script for the yellow toggle, it probably should be color = 12? :(

Sven

Edit: BTW, here is a simple embed script to clear all color image marks on the current layer If someone wants to make one more button 8)

Code: Select all

tv_Request "Clear All Image marks?|YES|NO"
Reply = result
IF Reply == 0
  EXIT
END
tv_LayerGetImage
CurrentImage = result
tv_LayerInfo
parse result d d d d d LStart LEnd d
FOR i = LStart to LEnd
  tv_LayerMarkSet 0 i 0
END
tv_LayerImage CurrentImage

Re: keyboard shortcut for different color image marks

Posted: 29 May 2013, 07:43
by Lukas
Svengali wrote:Hi Lucas,
Thank you for this set. Check your script for the yellow toggle, it probably should be color = 12? :(
Ah, for me, yellow is colorgroup 3... I didn't know what the original colors were like anymore.
Svengali wrote:Edit: BTW, here is a simple embed script to clear all color image marks on the current layer If someone wants to make one more button 8)
Handy! :)