VersionAutoUpdate
-----------------

Returns the version in the auto update format. e.g. 02040028

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Plugin](component_Plugin.md) | [2.4](newinversion24.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "VersionAutoUpdate" ) ### Parameters

none

### Result

the version as an 8 digit number as text.

### Description

Returns the version in the auto update format. e.g. 02040028  
### Examples

Queries version for auto update:

 MBS ("VersionAutoUpdate")  
Convert from display format to auto update format:

 Let ( \[  
v = Substitute ( MBS Update::VersionDisplayText ; "." ; ¶ );  
v1 = GetAsNumber ( GetValue ( v ; 1 ) );  
v2 = GetAsNumber ( GetValue ( v ; 2 ) );  
v3 = GetAsNumber ( GetValue ( v ; 3 ) );  
v4 = GetAsNumber ( GetValue ( v ; 4 ) )  
 \]; v4+v3\*100+v2\*10000+v1\*1000000)  
Check if plugin is okay to use for a script:

 If \[ MBS ( "VersionAutoUpdate" ) &lt; 11000000 \]   
 Show Custom Dialog \[ "MBS Plugin version too old" ; "This script needs MBS Plugin in version 11.0 or higher." \]   
 If \[ Get(LastMessageChoice) = 2 // picked Update button \]   
 Perform Script \[ Specified: From list ; “Install MBS Plugin” ; Parameter: \]  
 End If  
 Exit Script \[ Text Result: "MBS Plugin too old" \]   
End If  
\#   
\# use a function from version 11.0   
Set Variable \[ $dropview ; Value: MBS ("[DragDrop.AttachToWindow](DragDropAttachToWindow.md)"; Get(WindowName) ) \]   
\# ...   
### See also

- [DragDrop.AttachToWindow](DragDropAttachToWindow.md)

### Blog Entries

- [Automatically install MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2020-05-20/Automatically_install_MBS_File/monkeybreadsoftware_blog_filemaker)
- [Installation of MBS Plugin on FileMaker Server for Windows](https://www.mbsplugins.de/archive/2018-09-22/Installation_of_MBS_Plugin_on_/monkeybreadsoftware_blog_filemaker)
- [Comparing Base Elements Plugin to MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2017-10-24/Comparing_Base_Elements_Plugin/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin Update Check Script](https://www.mbsplugins.de/archive/2015-12-08/MBS_FileMaker_Plugin_Update_Ch/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin 2.4 release notes](https://www.mbsplugins.de/archive/2011-10-11/MBS_Filemaker_Plugin_24_releas/monkeybreadsoftware_blog_filemaker)
- [MBS Filemaker Plugin, version 2.4pr2](https://www.mbsplugins.de/archive/2011-05-12/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 1/2017, Seite 7 bis 8](https://filemaker-magazin.de/neuigkeit/3923-Appetithappen-FMM_201701)

This function is free to use.

Created 18th August 2014 , last changed 27th January 2024

  
[Version](Version.md) - [Vision.ClassifyImage](VisionClassifyImage.md)

[HTML Version](VersionAutoUpdate.shtml)