INTERACT FORUM

Windows => Plug-in Development => Topic started by: ThoBar on May 05, 2009, 11:13:27 pm

Title: Expression Language access, Theater View compatibility...
Post by: ThoBar on May 05, 2009, 11:13:27 pm
Is there a way to access, or set a field to access, MC's expression language?

Currently, setting a field to "=[genre]-[album]" results in literally that string.

I can see no other way of setting a field that would enable MC to interpret the string as an expression, or any way to request MC interpret the string for me (i.e. interperet the string, then let me work with the result)

Also, is it possible (will it be) to have dialogs show in a Theater View compatible manner - I guess this involves access to the internal MC dialog controls..? (Not hopeful here, but fishing anyway)
Title: Re: Expression Language access, Theater View compatibility...
Post by: Matt on May 07, 2009, 12:10:52 pm
Is there a way to access, or set a field to access, MC's expression language?

Currently, setting a field to "=[genre]-[album]" results in literally that string.

I can see no other way of setting a field that would enable MC to interpret the string as an expression, or any way to request MC interpret the string for me (i.e. interperet the string, then let me work with the result)

There's no current way from the SDK.

Quote
Also, is it possible (will it be) to have dialogs show in a Theater View compatible manner - I guess this involves access to the internal MC dialog controls..? (Not hopeful here, but fishing anyway)

Not currently.

It would be nice to at least allow showing a JRiver style simple message box (yes/no, ok/cancel, etc.), which Theater View does hook.

It's tricky because our code is C++ interfaces but few third party developers program in C++.
Title: Re: Expression Language access, Theater View compatibility...
Post by: ThoBar on May 08, 2009, 03:32:57 am
No worries, consider these feature requests then ;)

An addition to the current reference(? - not sure of correct terminology yet) call would be ideal in both situations I would have thought.

... kinda like

 IMJFieldsAutomation(.Interpret("someexpressionstring"))  for the expression,
and
 IMJAutomation(.ShowDialog()) for the dialogs. (Along the lines of MessageBox.Show("fkjsdhkf"); in C#)

Just my uneducated ideas :)