ctrl_layerStack_focusPosition and basic questions
  • quote
    member
    Posts: 13
    Joined: Tue Jan 08, 2008 1:33 pm

    ctrl_layerStack_focusPosition and basic questions

    by quote » Fri Nov 07, 2008 2:26 pm

    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
  • User avatar
    Lo
    activ8 member
    Posts: 50
    Joined: Mon Mar 10, 2008 11:49 pm
    Location: Bruxelles, Liège
    Contact:

    by Lo » Sat Nov 08, 2008 3:22 am

    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
  • quote
    member
    Posts: 13
    Joined: Tue Jan 08, 2008 1:33 pm

    by quote » Sat Nov 08, 2008 2:17 pm

    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 :)

Who is online

Users browsing this forum: No registered users and 16 guests