Creating simple user interfaces

Report this File

Th_ui_filename

Views:

16,107

Updated:

May 19, 2006

Readership Level:

Advanced

Tags:

Nuke Versions:

Platforms:

irix, linux, windows

Owner:

Language:

English

ask

Show a Yes/No dialog.

This function shows a Yes/No dialog with the given message. ask will return 1 if the user clicked 'yes' or 0 otherwise.


syntax:

ask


examples:

just bring up the dialog but don't do anything

ask "are you still here?"




returns stuff depending on which button the user hits:

if [ask "are you still here?"] {alert "you should go home";return} else {message "yeah, right";return}


get_input
Pops up a box that lets the user type in an arbitrary string.

syntax:
get_input ?default?

example:
get_input "Write something" "something"


Tutorial_next_page

Comments

Write a Comment

You must be logged in and have verified your email address to leave a comment. Login or create an account

Related Marketplace Items

  • Barnes_and_noble_nook_simple_touch_480_0001

  • 6

  • 2010225224838

  • 00

  • L01

  • Skype_1

  • Am01

  • V-ray_car_shaders_cover