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.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Queries list of file paths.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
QuickLook | 11.1 | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |
none
Returns list or error.
Script triggered when panel closed:
Set Variable [ $list ; Value: MBS("QLPreviewPanel.SavedFiles") ]
Set Variable [ $count ; Value: ValueCount($list) ]
#
If [ $count > 0 ]
# a document was saved
Set Variable [ $path ; Value: GetValue($list; 1) ]
# read file
Set Variable [ $file ; Value: MBS( "Container.ReadFile"; $path; "auto") ]
If [ MBS("IsError") = 0 ]
Set Field [ AVRecorder::Image ; $file ]
End If
# cleanup
Set Variable [ $r ; Value: MBS( "Files.Delete"; $Path ) ]
End If
This function checks for a license.
Created 18th February 2021, last changed 18th February 2021
QLPreviewPanel.Resize - QLPreviewPanel.SetCurrentPreviewItemIndex