Exporting/saving one entry from an Olympus .oib file metadata window

Can someone help me write a macro to save a particular entry in the metadata of an Olympus oib file?

Specifically, I understand how to open a metadata file (i.e. getMetadata(“Info”) or run(“Show Info…”));. And once the Metadata file is open, I can manually search for and find the item (Edit>Find> …). I can also Copy the found item, and Paste it into a txt file that I can then save.

But is it possible to do all this via a macro?

I tried to create such a macro using the “Record” feature, but couldn’t get past just opening the metadata file. I couldn’t record the Find etc.