Toggle between "Instance" and "Frame" mode on light table

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
Joost
Posts: 439
Joined: 24 Nov 2011, 13:16

Toggle between "Instance" and "Frame" mode on light table

Post by Joost »

Hello!

Is there a way to make a keyboard shortcut to toggle between "Mode Instance" and "Mode Frame" for the light table?

Thanks in advance!
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
Soom
Posts: 1185
Joined: 25 Jul 2011, 16:25
Location: World
Contact:

Re: Toggle between "Instance" and "Frame" mode on light table

Post by Soom »

As far as I know, there is no built in shortcut for Light Table mode, but there is a workaround - long time ago I have created a panel with 2 buttons (or was it given to me by someone here?) - each opens a Light Table with a different mode setting. You can attach then a shortcut to each of those buttons. You can also create your own buttons - if you edit my buttons, you will see that there are 2 commands there: 1 - Open Light Table panel, and 2 - Grab light table (this will grab the current state of the light table including the Mode setting). However be aware, that this method will also remember the whole state of the light table, so you will lose any current state of the LT...
Screen Shot 2020-03-03 at 12.43.10.png
Screen Shot 2020-03-03 at 12.43.10.png (5.99 KiB) Viewed 11716 times
LT_modes_buttons.tvpx
(106 KiB) Downloaded 833 times
at home: Hackintosh Intel Core i9-9900K, GPU AMD RX 6600 8GB, Cintiq 22" + Dell P2415Q 4K displays, MAC OS High Sierra / Windows 10, TVP Pro 11.7.1 + TVP Pro beta
at work: Windows 10, TVP 11.7.1 Std
https://vimeo.com/danas
Svengali
Posts: 1571
Joined: 28 Dec 2006, 10:08

Re: Toggle between "Instance" and "Frame" mode on light table

Post by Svengali »

This might do it as an Embedded George Script...

Code: Select all

tv_LightTableMode
parse result d LTMode d


IF CMP(LTMode, "instance")
	tv_LightTableMode INTERVAL IMAGE
ELSE
	tv_LightTableMode INTERVAL INSTANCE
END

tv_warn "LTMode = " LTMode  // delete this line after testing
sven
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
Post Reply