Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

FileDialog.SetAllowsOtherFileTypes

Sets whether other file types are allowed.

Component Version macOS Windows Linux Server iOS SDK
FileDialog 4.3 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "FileDialog.SetAllowsOtherFileTypes"; value )   More

Parameters

Parameter Description Example
value The new setting. Pass 1 to enable other file types or 0 to disable. 1

Result

Returns OK.

Description

Sets whether other file types are allowed.
Only for save panel to allow saving in other file types.
Added Windows support in plugin version 8.3 for Windows Vista or newer.

Examples

Allow other file types:

MBS( "FileDialog.SetAllowsOtherFileTypes"; 1 )

See also

This function is free to use.

Created 18th August 2014, last changed 13th January 2021


FileDialog.SetAllowMulti - FileDialog.SetCanSelectHiddenExtension