For this reason I try to avoid doing things through code if it can be done through designer, since by default the user who would use this keyboard, would not know how to program with Hollywood.
I am right now thinking of a solution to a problem which has to do with "Enter"-button.
I am currently having this numpad system where you can push number puttons and it displays them.
What I am trying to achieve right now is that when Enter button is pushed, it will go to this IF-ELSEIF-ELSE part, where you can put for example:
Code: Select all
IF input="1234"
reveal LAYER 1
ELSEIF input = "23144"
Reveal LAYER 2
ELSE
Show an Error
ENDIF
I could easily do this through coding, but since this is meant for Designer users to use and customize, I would need some way to make in such way that users would have control for it through Designer.
What comes to my mind is that as Designer normally uses these Scripts (as in Scripts and Layers tab), would it be possible to jump to some specific script line through code?
That what I am hoping is that user could make separate place for script tab which would be that error sequence, where he could decide to show a text layer, play a sample, wait 1000 and then remove the text layer and display another - as example.
And then the code would hopefully be simply:
Code: Select all
ELSE
JumpToScriptLocation "wrong code"
ENDIF