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: 209
Joined: 24 Nov 2011, 13:16

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

Post by Joost » 03 Mar 2020, 10:21

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!

User avatar
Soom
Posts: 761
Joined: 25 Jul 2011, 16:25
Location: World
Contact:

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

Post by Soom » 03 Mar 2020, 13:10

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 1098 times
LT_modes_buttons.tvpx
(106 KiB) Downloaded 20 times
iMac, Os 10.12.6, Cintiq 22", TVP Std 11.0.8

Svengali
Posts: 1285
Joined: 28 Dec 2006, 10:08
Contact:

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

Post by Svengali » 03 Mar 2020, 15:41

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
Desktop: tvp Pro 11.0.9-64bit, Win8.1 - 24GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.36-1
Android Tablet: release 11, Samsung Galaxy Note10.1 - 32GB internal - microSD 32GB

Post Reply