Plugin : Frame message

Author:Rex.Rainbow

Download

Properties

Frame name

  • My frame name for receiving.

Actions

Console

Action:Log

  • Log a message to the top frame console, which can be useful for debugging.
    • Type ( Combo ) : Choose the type of message to log to the browser console.
      • Options : ["Log","Warn","Error"]
    • Message ( number or string ) : Enter the message text to log to the browser console.

Function

Action:Set return value

  • In an 'On function' event, set the return value.
    • Value ( number or string ) : A number or some text to return from the function call.

Receive

Action:Set my frame name

  • Set my frame name for receiving.
    • Frame name ( string ) : My frame name for receiving.

Send

Action:Call function

  • Call function on other frame.
    • Receiver ( string ) : Frame name of receiver. Set "" to broadcast to all frames.
    • Name ( string ) : The name of the function to call.
    • Parameter {n} ( variadic ) : A parameter to pass for the function call, which can be accessed with Function.Param({n}).

Expressions

Frame name

Expression:MyFrameName

  • Get my frame name.

Function

Expression:ParamCount

  • Get the number of parameters passed to this function.

Expression:Param

  • Get the value of a parameter passed to the function.
    • Index ( number ) : The zero-based index of the parameter to get.

Expression:ReturnValue

  • Get the value set by 'Set return value'.

Message

Expression:LastSender

  • Get Frame name of last sender.

Conditions

Function

Condition:On function

  • Triggered when a function is called.
    • Name ( string ) : The name of the function that is being called.

Condition:On Return

  • Triggered when a function is returned.
    • Name ( string ) : The name of the function that is being returned.

Parent

Condition:Top frame

  • Return true if current frame is top frame. i.e. not in iframe or pop-up window