A simple issue

Heya

Soo I'm dodling scripting from few weeks now. I do get somewhere with them but I have quite basic problems atm...

I have 2 so far - I partially solved 1 but I forgot so ha.. :/

Anyway here is 1st one

rollout Shortcuts "On/Off Shortcuts" width:162 height:300
(
button ONTS "ON" pos:[8,32] width:57 height:24
button OFFTS "Off" pos:[88,32] width:57 height:24 enabled:true

on ONTS press do
(

timeSlider.setVisible True
)
on OFFTS press do
(

timeSlider.setVisible False

)

)

myfloater = (newRolloutFloater "DM Tools" 195 552)
addRollout Shortcuts myfloater

Now what this does is create rollout and let me enable and disable timeslider. The on/off button dont work... any idea how do I get that to fix?

The second issue is that I want to start 1 script using another script. So I'll have 1 icon with all scripts I want and I just click on them and they pop up next to me... how can I call a script ?

Thanks, bye ! :)

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anubis's picture

quick help

on 1st question:
a little syntax error - the button event is pressed not press

on 2nd question:
you need MacroScript (check the help for details)

my recent MAXScripts RSS (archive here)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.