How do I change the Inform() return format to json?
Hi, I'm working on a wrapper for MediaInfo.dll in AHKv2. I have the basic Inform functionality working but I can't figure out how to call Inform_Set like the docs say:
The above is the only place that function name appears in the documents, save one reference in the VB6 examples. Since everytime I try to call
Inform_Set I get a "function not found" error, I am assuming the function has changed at some point in the last 20 years. XD
Anyways, any tips toward resolving this would be very appreciated. Thank you!
I figured it out! :D
Seems Inform_Set's functionality got rolled into Option?
At any rate, that solves my immediate issue, but would you please point me at the correct place in the code (or updated documentationš¤) to look at the current list of options? I did a quick search of the repository, but there's over 200 results for option and I'm not quite sure what I'm looking for. Thanks!
You can try looking at the source code for MediaInfo's GUI here: https://github.com/MediaArea/MediaInfo/blob/master/Source/GUI/VCL/GUI_Main.cpp
Look for all the I->s inside the void __fastcall TMainF::Refresh(TTabSheet *Page) function and it may help you. I is a MediaInfoList there.
There is a file with almost all available options: https://github.com/MediaArea/MediaInfo/blob/master/Source/Common/Core.cpp