Use metadata in button command?

I want to store a bit of text in the metadata of a JPG, and use that text as a variable in a button command. Is this possible?

Yes, using scripting. The metadata object lets you use values from JPG metadata. You can use any value Opus supports.

I have zero knowledge/experience in that area. Can you point me in the direction of a resource (human or otherwise) that can help me get started?

Thanks!

The command I need is as follows (it's the cameramake bit I need help with)

\path\rogram.exe "{cameramake}" {o|noext}

[ul][li]Scripting[/li]
[li]Scripting Objects reference[/li][/ul]

Thanks Leo. I had a look, but I don't think that I will be able to go start from zero and build a script using those resources. I've tried looking in the scripting section to find similar snippets I can modify, but I haven't had much luck.

If anyone can help out, please let me know. Thanks.