mergMessage

mergMessage is a LiveCode external that adds a command to send an SMS message.

mergMessage Syntax

command mergMessage [pNumbers],[pBody]

Syntax example:

mergMessage fld "numbers",fld "body"

Sends an SMS

Parameters:

  • pNumbers - (optional) a comma delimted list of phone numbers to send to
  • pBody - (optional) the body of the message

Sets the result to one of:

  • not configured
  • cancel
  • sent
  • failed

function mergMessageCanSendText()

Syntax example:

if mergMessageCanSendText() then show btn "sendsms"

Checks to see if the device is configured to send an SMS

Returns true or false