˙˙ CProfileTree Application˙˙CMapStringToStringNameWindows Media Player 6Windows Media Player 6€Flags0Wndmplayer2.exe\*(Media Player 2)File%mplayer2.exe%ID2Index0App:€ID1Execute application€Flags0ID1Index-1Execute€Flags0Action1xParam1Filename%mplayer2.exe%ID3Delay0Index0Exit€ID1Exit€Flags0ID1Index0Close application€Flags0Action2xParam1Filename%mplayer2.exe%ID3Delay0Index0Forward€ID1Forward€Flags1ID1Index1 Run Script€Flags0Action52xParam1Param˙wmp=CreateObject("MediaPlayer.MediaPlayer.1"); if (!wmp) Exit(ExitCodeAbortNoOSD); if (wmp.PlayState!=2) wmp.Play(); else wmp.CurrentPosition+=20; title=""; if (wmp.HasMultipleItems) title=wmp.GetMediaInfoString(8); if (title=="") { title=wmp.Filename; if (title.lastIndexOf("\\")!=-1) title=title.substr(title.lastIndexOf("\\")+1); if (title.lastIndexOf(".")!=-1) title=title.substr(0,title.lastIndexOf(".")); } len=0; if (wmp.IsDurationValid) { len=wmp.Duration; lenhours=Math.floor(len/3600); lenmins=Math.floor(len%3600/60); lensecs=Math.floor(len%60); lenstr=lenhours+":"+(lenmins<10?"0"+lenmins:lenmins)+":"+(lensecs<10?"0"+lensecs:lensecs); } pos=wmp.CurrentPosition; poshours=Math.floor(pos/3600); posmins=Math.floor(pos%3600/60); possecs=Math.floor(pos%60); posstr=poshours+":"+(posmins<10?"0"+posmins:posmins)+":"+(possecs<10?"0"+possecs:possecs); if (len) { pos=100/len*pos; OSD.Show(osdProgress,posstr+" ("+lenstr+") "+title,pos); } else Alert(posstr+"\n"+title); FilenameJScriptID3Delay0Index0 Fullscreen€ID1 Fullscreen€Flags2ID1Index2 Run Script€Flags0Action52xParam1Param˙function main() { wmp=CreateObject("MediaPlayer.MediaPlayer.1"); if (!wmp) return ExitCodeAbortNoOSD; if (wmp.DisplaySize!=3) { Window("mplayer2.exe\\*(Media Player 2)").SwitchTo(); wmp.DisplaySize=3; } else wmp.DisplaySize=0; return ExitCodeNoOSD; }FilenameJScriptID3Delay0Index0 Next Track€ID1 Next Track€Flags0ID1Index3 Run Script€Flags0Action52xParam1Param˙´function main() { wmp=CreateObject("MediaPlayer.MediaPlayer.1"); if (!wmp) return ExitCodeAbortNoOSD; tracks=wmp.EntryCount; if (tracks<=0) { Alert("No Playlist loaded"); return ExitCodeNoOSD; } current=wmp.GetCurrentEntry(); if (current==tracks) wmp.SetCurrentEntry(1); else wmp.Next(); while (wmp.ReadyState<3) Sleep(100); title=wmp.GetMediaInfoString(8); if (title=="") { title=wmp.Filename; if (title.lastIndexOf("\\")!=-1) title=title.substr(title.lastIndexOf("\\")+1); if (title.lastIndexOf(".")!=-1) title=title.substr(0,title.lastIndexOf(".")); } title=wmp.GetCurrentEntry()+". "+title; Alert(title); return ExitCodeNoOSD; } FilenameJScriptID3Delay0Index0Play€ID1 Play/Pause€Flags0ID1Index4 Run Script€Flags0Action52xParam1Param˙wmp=CreateObject("MediaPlayer.MediaPlayer.1"); if (!wmp) Exit(ExitCodeAbortNoOSD); if (wmp.IsDurationValid) { len=wmp.Duration; lenhours=Math.floor(len/3600); lenmins=Math.floor(len%3600/60); lensecs=Math.floor(len%60); lenstr=lenhours+":"+(lenmins<10?"0"+lenmins:lenmins)+":"+(lensecs<10?"0"+lensecs:lensecs); } else lenstr="??:??"; pos=wmp.CurrentPosition; poshours=Math.floor(pos/3600); posmins=Math.floor(pos%3600/60); possecs=Math.floor(pos%60); posstr=poshours+":"+(posmins<10?"0"+posmins:posmins)+":"+(possecs<10?"0"+possecs:possecs); if (wmp.PlayState!=2 || wmp.Rate!=1.0) { wmp.Rate=1.0; wmp.Play(); title=""; if (wmp.HasMultipleItems) title=wmp.GetMediaInfoString(8); if (title=="") { title=wmp.Filename; if (title.lastIndexOf("\\")!=-1) title=title.substr(title.lastIndexOf("\\")+1); if (title.lastIndexOf(".")!=-1) title=title.substr(0,title.lastIndexOf(".")); } text=title+" ("+lenstr+")"; } else { wmp.Pause(); text="Pause\n"+posstr+" ("+lenstr+")"; } Alert(text); FilenameJScriptID3Delay0Index0Preview€ID1Preview€Flags0ID1Index5 Run Script€Flags0Action52xParam1Paramôwmp=CreateObject("MediaPlayer.MediaPlayer.1"); if (!wmp) Exit(ExitCodeAbortNoOSD); if (wmp.CanPreview) { wmp.PreviewMode=!wmp.PreviewMode; Alert("Preview Mode "+(wmp.PreviewMode?"On":"Off")); } else Alert("Preview Mode unavailable");FilenameJScriptID3Delay0Index0Previous Track€ID1Previous Track€Flags0ID1Index6 Run Script€Flags0Action52xParam1Param˙Âfunction main() { wmp=CreateObject("MediaPlayer.MediaPlayer.1"); if (!wmp) return ExitCodeAbortNoOSD; tracks=wmp.EntryCount; if (tracks<=0) { Alert("No Playlist loaded"); return ExitCodeNoOSD; } current=wmp.GetCurrentEntry(); if (current==1) wmp.SetCurrentEntry(wmp.EntryCount); else wmp.Previous(); while (wmp.ReadyState<3) Sleep(100); title=wmp.GetMediaInfoString(8); if (title=="") { title=wmp.Filename; if (title.lastIndexOf("\\")!=-1) title=title.substr(title.lastIndexOf("\\")+1); if (title.lastIndexOf(".")!=-1) title=title.substr(0,title.lastIndexOf(".")); } title=wmp.GetCurrentEntry()+". "+title; Alert(title); return ExitCodeNoOSD; } FilenameJScriptID3Delay0Index0Rewind€ID1Rewind€Flags1ID1Index7 Run Script€Flags0Action52xParam1Param˙Hwmp=CreateObject("MediaPlayer.MediaPlayer.1"); if (!wmp) Exit(ExitCodeAbortNoOSD); if (wmp.PlayState!=2) wmp.Play(); else { if (wmp.CurrentPosition>20) wmp.CurrentPosition-=20; else wmp.CurrentPosition=0; } title=""; if (wmp.HasMultipleItems) title=wmp.GetMediaInfoString(8); if (title=="") { title=wmp.Filename; if (title.lastIndexOf("\\")!=-1) title=title.substr(title.lastIndexOf("\\")+1); if (title.lastIndexOf(".")!=-1) title=title.substr(0,title.lastIndexOf(".")); } len=0; if (wmp.IsDurationValid) { len=wmp.Duration; lenhours=Math.floor(len/3600); lenmins=Math.floor(len%3600/60); lensecs=Math.floor(len%60); lenstr=lenhours+":"+(lenmins<10?"0"+lenmins:lenmins)+":"+(lensecs<10?"0"+lensecs:lensecs); } pos=wmp.CurrentPosition; poshours=Math.floor(pos/3600); posmins=Math.floor(pos%3600/60); possecs=Math.floor(pos%60); posstr=poshours+":"+(posmins<10?"0"+posmins:posmins)+":"+(possecs<10?"0"+possecs:possecs); if (len) { pos=100/len*pos; OSD.Show(osdProgress,posstr+" ("+lenstr+") "+title,pos); } else Alert(posstr+"\n"+title);FilenameJScriptID3Delay0Index0 SloMo€ID1 SloMo€Flags0ID1Index8 Run Script€Flags0Action52xParam1Paramţwmp=CreateObject("MediaPlayer.MediaPlayer.1"); if (!wmp) Exit(ExitCodeAbortNoOSD); if (wmp.Rate<=0.125 || wmp.Rate>1) { wmp.Rate=1; Alert("Play"); } else { wmp.Rate/=2; Alert("SloMo "+wmp.Rate+"x"); } if (wmp.PlayState!=2) wmp.Play();FilenameJScriptID3Delay0Index0 Speedy€ID1 Speedy€Flags0ID1Index9 Run Script€Flags0Action52xParam1Param˙Dwmp=CreateObject("MediaPlayer.MediaPlayer.1"); if (!wmp) Exit(ExitCodeAbortNoOSD); if (wmp.Rate<1) { wmp.Rate=1; Alert("Play"); } else { old=wmp.Rate; wmp.Rate+=1; if (old==wmp.Rate || wmp.Rate>8) { wmp.Rate=1; Alert("Play"); } else Alert(wmp.Rate+"x"); } if (wmp.PlayState!=2) wmp.Play(); FilenameJScriptID3Delay0Index0 Stop€ID1 Stop€Flags0ID1Index10 Run Script€Flags0Action52xParam1ParamŚwmp=CreateObject("MediaPlayer.MediaPlayer.1"); if (!wmp) Exit(ExitCodeAbortNoOSD); wmp.Stop(); wmp.CurrentPosition=0; Alert("Stop"); FilenameJScriptID3Delay0Index0