WinPhotoAcquire.GetCurrentDeviceID
----------------------------------

Queries device ID for currently selected devices.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WinPhotoAcquire](component_WinPhotoAcquire.md) | [12.1](newinversion121.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "WinPhotoAcquire.GetCurrentDeviceID" ) ### Parameters

none

### Result

Returns text or error.

### Description

Queries device ID for currently selected devices.  
You can store this in a field to set back later with [WinPhotoAcquire.SetCurrentDeviceID](WinPhotoAcquireSetCurrentDeviceID.md) and pre-select this device for next run.  
### Examples

Show identifier:

 Show Custom Dialog \[ "Device ID" ; MBS ("WinPhotoAcquire.GetCurrentDeviceID") \]  
### See also

- [WinPhotoAcquire.SetCurrentDeviceID](WinPhotoAcquireSetCurrentDeviceID.md)

### Example Databases

- [Win Only/PhotoAcquire](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/PhotoAcquire.shtml#6ScriptAnchor_)

This function is free to use.

Created 5th February 2022 , last changed 7th February 2022

  
[WinPhotoAcquire.Files](WinPhotoAcquireFiles.md) - [WinPhotoAcquire.SetCurrentDeviceID](WinPhotoAcquireSetCurrentDeviceID.md)

[HTML Version](WinPhotoAcquireGetCurrentDeviceID.shtml)