WIA.GetCurrentItem
------------------

Queries name/ID of current item.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [WIA](component_WIA.md) | [8.3](newinversion83.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "WIA.GetCurrentItem" ) ### Parameters

none

### Result

Returns text or error.

### Description

Queries name/ID of current item.  
All items where you can pass item, you can pass this ID or empty string to use current item.  
### Examples

Show current device and item:

 Set Variable \[ $device ; Value: MBS ( "[WIA.GetCurrentDevice](WIAGetCurrentDevice.md)" ) \]   
Set Variable \[ $item ; Value: MBS ( "WIA.GetCurrentItem" ) \]   
Show Custom Dialog \[ "Current device:" ; $device &amp; " " &amp; $item \]  
### See also

- [WIA.GetCurrentDevice](WIAGetCurrentDevice.md)

### Release notes

- **Version 8.3**
    - Added [WIA.GetCurrentItem](http://www.mbsplugins.eu/WIAGetCurrentItem.shtml) and allow you to pass "" for item to use current one.

### Blog Entries

- [MBS FileMaker Plugin, version 8.3pr2](https://www.mbsplugins.de/archive/2018-06-18/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th June 2018 , last changed 18th December 2020

  
[WIA.GetCurrentDevice](WIAGetCurrentDevice.md) - [WIA.Image](WIAImage.md)

[HTML Version](WIAGetCurrentItem.shtml)