Page 1 of 1

ctrl_layerStack_focusPosition and basic questions

Posted: Fri Nov 07, 2008 2:26 pm
by quote
hiho,

i want to start making my own modul in which i control the focused Layer..

i started with a button and assigned in script connect a send message (goToThree)

in the script window i wrote under messageEvent:

Code: Select all

if msg == 'goToThree' :
  modul8.setValue('ctrl_layerStack_focusPosition',3)


but somehow i'm making something wrong. cause there is no reaction in modul8 if i press the button..

is there somewhere a homepage where i can look up the commands (besides the keyword browser)?
what am i making wrong in my basic module?

please don't be upset if this is a commom question but i just didn't find something on the internet which explained it to me :)

greetings david

Posted: Sat Nov 08, 2008 3:22 am
by Lo
I can't help you for the script ( except to advise you of being sure of restart your layer after you've wrote the script )


But here I have an easier solution

Image

Posted: Sat Nov 08, 2008 2:17 pm
by quote
ok.. it's working so far. i used "ctrl_layerStack_focusPosition"

is it possible to use a variable in the expression field?

for example

Code: Select all

value = newValueUP


and the variable newValueUP contains the old active layer minus one.. so that i can switch through the layers?

i didn't found the things i wrote in the keyword connect tab in the script tab..

hope that i made my point clear :)