INTERACT FORUM

Windows => Plug-in Development => Topic started by: rtinker on March 08, 2010, 03:43:42 pm

Title: SDK Undocumented Procedure
Post by: rtinker on March 08, 2010, 03:43:42 pm
Hello,

In IMJPlaylistAutomation for MC14, I found "SetFiles" which, looking at the prototype, is something that I think I want to use.  The downside is that it is not documented in the Wiki - does anybody know what this is for?  It takes an IMJFilesAutomation as an argument, so it looks like it will populate a playlist with a list of files which is what I was looking for.

Thanks

Title: Re: SDK Undocumented Procedure
Post by: prod on March 09, 2010, 03:02:30 pm
If you use a GetFiles to retrieve an IMJFilesAutomation, then mess around with it, then you set it back with a SetFiles... for instance;

IMJFilesAutomation files = playlist.GetFiles();
files.RemoveAll();
playlist.SetFiles(files);

That clears the playlist.