Page 1 of 1

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

Posted: 03 Mar 2020, 10:21
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!

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

Posted: 03 Mar 2020, 13:10
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 11718 times
LT_modes_buttons.tvpx
(106 KiB) Downloaded 834 times

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

Posted: 03 Mar 2020, 15:41
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