Page 1 of 1

Set and/or toggle global opacity with the keyboard

Posted: 15 Feb 2013, 05:32
by NickA
Hi Everyone

I find that I am often adjusting the global opacity of my current layer, but I couldn't find a keyboard shortcut for it. Ideally, I'd like to be able to toggle global opacity between 100% and another set amount. If there is a way to do this with a George script, that would also be excellent.

It'd also be brilliant to be able to go up or down the opacity levels in steps (maybe 10%?)

Re: Set and/or toggle global opacity with the keyboard

Posted: 18 Feb 2013, 00:26
by NickA
I've figured it out. I created a george script and attached it to a custom button as follows (to toggle between 50% and 100% layer opacity):

tv_LayerDensity
LayerD = result
IF CMP(LayerD, "49")
tv_LayerDensity 100
ELSE
tv_LayerDensity 50
END

Ofcourse you can change it or have it toggle however you want. I was getting tvpx "export failed" errors, so I couldn't export my custom panel, but its pretty simple to make and adjust how you like. Use tv_warn LayerD to see what the current value is(if needed).