Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Checks whether we can send text.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MessageComposer | 7.3 | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |
none
Returns 1, 0 or error.
Check whether message can be send:
Set Variable [ $r ; Value: MBS( "MessageComposer.CanSendText" ) ]
If [ $r ≠ 1 ]
Show Custom Dialog [ "Can't send emails." ; "This iOS device is not configured to send text messages." ]
Exit Script [ Text Result: "failed" ]
End If
This function is free to use.
Created 10th June 2017, last changed 17th June 2018