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: 11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5    Statistic    FMM    Blog  

QLPreviewPanel.SetSharingAllowed

Sets whether sharing is allowed.

Component Version macOS Windows Linux Server iOS SDK
QuickLook 11.3 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "QLPreviewPanel.SetSharingAllowed"; Value )   More

Parameters

Parameter Description Example
Value Pass 1 to allow or 0 to disallow.

Result

Returns OK or error.

Description

Sets whether sharing is allowed.
By default is this enabled.

Examples

Allow sharing:

Set Variable [ $r; Value: MBS( "QLPreviewPanel.SetSharingAllowed"; 1 ) ]

Disallow sharing

Set Variable [ $r; Value: MBS( "QLPreviewPanel.SetSharingAllowed"; 0 ) ]

See also

Release notes

Blog Entries

Created 6th July 2021, last changed 24th August 2022


QLPreviewPanel.SetEditingAllowed - QLPreviewPanel.Show

Feedback: Report problem or ask question.


Start Chat