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
Queries licensee name.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
none
Returns name or error.
Script to report back status of MBS Plugin:
# Script to trigger somewhere to report back details about MBS Plugin
Set Variable [ $version ; Value: GetAsText(MBS("Version")) ]
Set Variable [ $platform ; Value: MBS( "Platform" ) ]
Set Variable [ $buildNumber ; Value: MBS( "Plugin.BuildNumber" ) ]
Set Variable [ $path ; Value: MBS( "Plugin.Path" ) ]
Set Variable [ $IsRegistered ; Value: MBS( "IsRegistered" ) ]
Set Variable [ $Name ; Value: MBS( "Plugin.LicenseeName" ) ]
Set Variable [ $Debug ; Value: MBS( "Plugin.isDebug" ) ]
If [ $version = "?" ]
Set Variable [ $text ; Value: "MBS Plugin not installed. " & Get ( ApplicationVersion ) ]
Else
Set Variable [ $l1 ; Value: "MBS Plugin " & $version & ", build " & $buildNumber & " installed in " & Get ( ApplicationVersion ) ]
Set Variable [ $l2 ; Value: "¶Platform: " & $Platform & "¶Path: " & $path ]
Set Variable [ $l3 ; Value: If($IsRegistered; "¶Licensed for: " & $Name ; "¶No license set.") ]
Set Variable [ $l4 ; Value: "¶Debug: " & If($debug; "yes"; "no") ]
Set Variable [ $text ; Value: $l1 & $l2 & $l3 ]
End If
Exit Script [ Text Result: $text ]
This function is free to use.
Created 19th June 2018, last changed 26th June 2018