Index: trunk/doc/user/06_feature/scripting/rosetta/10_hello/ex.sh =================================================================== --- trunk/doc/user/06_feature/scripting/rosetta/10_hello/ex.sh (nonexistent) +++ trunk/doc/user/06_feature/scripting/rosetta/10_hello/ex.sh (revision 18872) @@ -0,0 +1,13 @@ +#!/bin/sh + +# An action without arguments that prints hello world in the log window +# Returns 0 for success. +hello() +{ + fgw message "Hello world!" + return 0 +} + +# Register the action - action name matches the function name +fgw_func_reg "hello" +