How do I access an enum that is defined within a COM interface? Specifically, I've created a new instance of an iTunes.Application:
var iTunesApp = WScript.CreateObject("iTunes.Application");
... and I want to be able to use certain enums defined within the COM
iTunesTrackCOM.idl File Reference
[...]
Enumerations
[...]
enum ITVideoKind {
ITVideoKindNone = 0,
ITVideoKindMovie,
ITVideoKindMusicVideo,
ITVideoKindTVShow
}
I've tried iTunesApp.ITVideoKindTVShow, but that doesn't seem to work.
Alternatively, how could I root around the iTunesApp object interactively via a shell or something like that?