| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
ScriptWorkspace.CurrentTabTogglePreview
Toggles the preview button on the current tab.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| ScriptWorkspace | 16.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "ScriptWorkspace.CurrentTabTogglePreview" )
Parameters
none
Result
Returns OK or error.
Description
Toggles the preview button on the current tab.Returns an error in case the preview button is not found.
See also
Release notes
- Version 16.4
- Added ScriptWorkspace.CurrentTabPreview function to check if the current script is a preview and ScriptWorkspace.CurrentTabTogglePreview to click the preview button.
Blog Entries
This function is free to use.
Created 28th July 2026, last changed 28th July 2026
ScriptWorkspace.CurrentTabToggleClose - ScriptWorkspace.ExpandScriptFolders
MarkDown version: ScriptWorkspaceCurrentTabTogglePreview.md