[Closed] keyboard input
hi there;
i want to control sld1.value with my keyboard, i ll assign the code to my timer object then for example timer will chek if i prees “6” or not , if answer “yes” then sld1.value = sld1.value +1, is it possible t do? i couldnt find enough information in maxscript referance…
getKBLine [ prompt:<string> ]
getKBChar [ prompt:<string> ]
These functions let the user type characters into the Listener that are returned as a MAXScript string. getKBLine() returns all the characters up until the user presses ENTER, getKBChar() returns each character immediately as it is entered. The user can abort the entry by pressing the ESC key in which case the function returns the special value #undefined.
i found it in maxscript referance, its workimg ok but i couldnt do it with the timer object:S