keyboard shortcut for different color image marks

This section is dedicated to the feature & improvement requests (be sure what you are asking does not exist yet in TVPaint Animation ;) )
Post Reply
User avatar
Joost
Posts: 439
Joined: 24 Nov 2011, 13:16

keyboard shortcut for different color image marks

Post 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?...
Mac OS 13.4.1 , Mac Studio 2023, 32GB RAM, Wacom Cintiq 27 QHD (no touch), Wacom Driver 6.4.2-4.
TVP Pro 11.7.1
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: keyboard shortcut for different color image marks

Post by Lukas »

Use this, note that the colors you use are the same as the colors chosen to use as layercolors.
Attachments
LukasColormarks.tvpx
(180.5 KiB) Downloaded 908 times
colormarks.png
colormarks.png (7.06 KiB) Viewed 11272 times
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
User avatar
Joost
Posts: 439
Joined: 24 Nov 2011, 13:16

Re: keyboard shortcut for different color image marks

Post by Joost »

Thanks Lukas!
Mac OS 13.4.1 , Mac Studio 2023, 32GB RAM, Wacom Cintiq 27 QHD (no touch), Wacom Driver 6.4.2-4.
TVP Pro 11.7.1
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: keyboard shortcut for different color image marks

Post 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
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
User avatar
Lukas
Posts: 526
Joined: 14 Jan 2011, 11:15
Contact:

Re: keyboard shortcut for different color image marks

Post 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! :)
  • Lukas Sketch Panel
  • TVPaint Pro 11.7.3
  • MacBook Pro 2018 macOS Ventura 13.4.1 + PC Windows 10
  • Wacom Cintiq 27QHD + Wacom Intuos4
  • YouTube.com/@ClubBaboo
  • YouTube.com/@FrameOrder
Post Reply