REVO2700Using the send command@ 4 Messages  UTahomaWCalibriUCalibri WTahoma cREVGeneralbreakpointconditions breakpointsbreakpointstatesstackfileversion2.7AlreadyHiddenfalse @ClearEp@on mouseUp send "outputClear" to field "Output" end mouseUp R2 cREVGeneral revUniqueID 1256217276068scripteditorvscroll0scripteditorselection62 Output)pJ# This command clears the output command outputClear put empty into me end outputClear # This command writes the string pText to the output command outputWrite pText set the text of me to pText end outputWrite # This command writes teh string pText to the output and gives the output # the color specified in pColor. command outputWriteColored pText, pColor set the htmlText of me to "

" & pText & "

" end outputWriteColored # This command returns the curent value of the output command outputGet return the text of me end outputGet # This command writes an array to the output command outputWriteArray pArray local tOutput repeat for each key tKey in pArray put tKey & " = " & pArray[tKey] & return after tOutput end repeat set the text of me to tOutput end outputWriteArray # This is a private command which cannot be called by using send or dispatch. private command outputAnswerSomething answer "This command cannot be called from outside this script because it's private" end outputAnswerSomething  cREVGeneral revUniqueID 1256217289230scripteditorvscroll0scripteditorselection588  This is some example textSetEp_on mouseUp local tValue ask "Please enter some text" if the result is "cancel" then exit mouseUp end if put it into tValue # Note here the tValue is inside the quotes, but Revolution will still process # it correctly and send the expected value to the comand. send "outputWrite tValue" to field "Output" end mouseUp $R6 cREVGeneral revUniqueID 1256217971381scripteditorvscroll0scripteditorselection229  Set GreenEpon mouseUp local tValue ask "Please enter some text" if the result is "cancel" then exit mouseUp end if put it into tValue local tColor put "#00FF00" into tColor send "outputWriteColored tValue, tColor" to field "Output" end mouseUp BR4 cREVGeneral revUniqueID 1256218064352scripteditorvscroll0scripteditorselection270 GetEpon mouseUp local tOutput send "outputGet" to field "Output" put the result into tOutput answer "The output is : " & tOutput end mouseUp |R2 cREVGeneral revUniqueID 1256218172417scripteditorvscroll0scripteditorselection135 ArrayEpon mouseUp local tArray put "Value 1" into tArray["Key 1"] put "Value 2" into tArray["Key 2"] put "Value 3" into tArray["Key 3"] send "outputWriteArray tArray" to field "Output" end mouseUp ^R0 cREVGeneral revUniqueID 1256218224546scripteditorvscroll0scripteditorselection212 ?Ep0on mouseUp local tMessageName ask "Please type the name of the message to send to the field" if the result is "cancel" then exit mouseUp end if put it into tMessageName if tMessageName is "outputWriteColored" then local tValue put "test" into tValue local tColor put "#FF0000" into tColor send tMessageName && "tValue, tColor" to field "Output" else send tMessageName to field "Output" end if --dispatch tMessageName to field "Output" with tValue, tColor end mouseUp R6 cREVGeneral revUniqueID 1256218371404scripteditorvscroll0scripteditorselection353 revOnline | RunRev