Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  

FM.AllowFileDragDrop

Installs fix for file drag and drop problem.

Component: FM
Version: 7.0
Mac OS X: Yes
Windows: No
Server: No
FileMaker Cloud: No

MBS( "FM.AllowFileDragDrop"; Enable )

Parameters

Parameter Description Example value
Enable Whether to enable or disable.
Pass 1 to enbale or 0 to disable.
Default if no parameter is given is enable.
1

Result

Returns OK or error.

Description

Installs fix for file drag and drop problem.
When we have a container in FileMaker with e.g. a zip file and drag the file content to the Finder, nothing happens. This plugin functions installs some code which intercepts those file drags and makes them work.
Internally the file data is obtained and written to temporary folder. The finder can copy the file there and our plugin can later delete the temp file.

Works better with non interactive containers.
This does not change drag & drop of images.

With plugin version 7.1, PDF drag and drop is also supported.

Examples

Allow file drops from container to Finder:

Set Variable [$r; Value:MBS( "FM.AllowFileDragDrop" )]


Events.requestAccessToEntityType   -   FM.Argument

Feedback: Report problem or ask question.




Links
MBS Real Studio PDF Plugins - Nachhilfe in Kruft