INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: SDK Undocumented Procedure  (Read 1501 times)

rtinker

  • Member
  • *
  • Posts: 1
SDK Undocumented Procedure
« 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

Logged

prod

  • Citizen of the Universe
  • *****
  • Posts: 958
  • Play nice
Re: SDK Undocumented Procedure
« Reply #1 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.
Logged
Pages: [1]   Go Up