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}
Pops up a box that lets the user type in an arbitrary string.
syntax:
get_input?default? example:
get_input "Write something" "something"
Comments
Write a Comment