Clipboard.GetFiles
------------------

Queries file paths on the clipboard.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Clipboard](component_Clipboard.md) | [5.1](newinversion51.md) | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |

MBS( "Clipboard.GetFiles" ) ### Parameters

none

### Result

Returns list or error.

### Description

Queries file paths on the clipboard.  
If you copy files in Finder or Explorer, you can use this plugin function to get a list of files.  
Returns native file paths, so you may need [Path.NativePathToFileMakerPath](PathNativePathToFileMakerPath.md) function.  
  
For server this will query the clipboard of the user account running the server app on the server computer and not the clipboard of any client.  
### Examples

Query list of files:

 MBS ( "Clipboard.GetFiles" )  
### See also

- [Clipboard.GetData](ClipboardGetData.md)
- [Clipboard.GetText](ClipboardGetText.md)
- [Clipboard.GetTypes](ClipboardGetTypes.md)
- [Clipboard.SetFiles](ClipboardSetFiles.md)
- [Path.NativePathToFileMakerPath](PathNativePathToFileMakerPath.md)

### Blog Entries

- [MBS FileMaker Plugin, version 5.1pr6](https://www.mbsplugins.de/archive/2015-04-23/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 23th April 2015 , last changed 29th April 2016

  
[Clipboard.GetFileMakerData](ClipboardGetFileMakerData.md) - [Clipboard.GetHTMLText](ClipboardGetHTMLText.md)

[HTML Version](ClipboardGetFiles.shtml)