function scriptFunc() { print( this.x ); } var oSomeObject = { x: 123 }; sender.signal.scriptConnect( oSomeObject, scriptFunc );