 	cmd := "#"+toHexColor(red,green,blue) ; # is the set main color command
 	; MsgBox %cmd%
 	TrayTip, , Red: %red%
-	socket.Send(cmd)
+	sendCmd(cmd)
 
 	return
 

		TrayTip, ,Connection established to led controller!
		; InputBox, Data, WebSocket, Enter some text to send through the websocket.
		; this.Send(Data)
	}
	
	OnMessage(Event)

	cmd := "#"+toHexColor(red,green,blue) ; # is the set main color command
	; MsgBox %cmd%
	TrayTip, , Blue: %blue%
	sendCmd(cmd)

	return
	
