IKDeviceBrowserPanel.SelectedDeviceName
---------------------------------------

Queries name of selected device.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImageCapture](component_ImageCapture.md) | [6.5](newinversion65.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "IKDeviceBrowserPanel.SelectedDeviceName" ) ### Parameters

none

### Result

Returns text or error.

### Description

Queries name of selected device.  
### Examples

Query selected device in triggered script:

 Set Variable \[$Param ; Value:Get(ScriptParameter)\]  
If \[$Param = "Select"\]  
 Set Variable \[$name ; Value:MBS ("IKDeviceBrowserPanel.SelectedDeviceName")\]  
 Set Field \[ImageCapture Dialogs::ScannerName ; $name \]  
End If  
### See also

- [IKDeviceBrowserPanel.SelectedDeviceID](IKDeviceBrowserPanelSelectedDeviceID.md)
- [IKDeviceBrowserPanel.SetTrigger](IKDeviceBrowserPanelSetTrigger.md)

### Example Databases

- [Mac only/ImageCapture/ImageCapture Dialogs](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/ImageCapture/ImageCapture%20Dialogs.shtml#4ScriptAnchor_)

This function is free to use.

Created 7th November 2016 , last changed 7th November 2016

  
[IKDeviceBrowserPanel.SelectedDeviceID](IKDeviceBrowserPanelSelectedDeviceID.md) - [IKDeviceBrowserPanel.SetCancelButtonLabel](IKDeviceBrowserPanelSetCancelButtonLabel.md)

[HTML Version](IKDeviceBrowserPanelSelectedDeviceName.shtml)