AmpBar Help: WinampCOM object javascript documentation. Introduction) You need the WinampCOM plugin (http://www.adcock8.freeserve.co.uk) for this to work properly. Declare an instance of the WinampCOM object like this: objWinAmp = new ActiveXObject("WinampCOM.Application"); Destroy this instance like this: objWinAmp = null; Properties) Status) boolean RepeatStatus; boolean ShuffleStatus; eWinampPlayStatus Status; // see eWinampPlayStatus constants Song Info) constant string CurrentSongTitle; constant string CurrentSongFileName; constant string SongTitle (int PlayListPosition); constant string SongFileName (int PlayListPosition); constant integer CurrentSongLength; integer CurrentPos; Playlist Info) constant string PlayListCount; integer PlayListPos; Visibility) boolean PlaylistVisible; boolean EqualizerVisible; boolean MiniBrowserVisible; boolean Visible; Enabling) boolean AutoloadEnabled; boolean EqEnabled; Equalizer) integer PreAmpPosition; integer EqPosition(long Band); constant integer Channels; constant integer Bitrate; constant integer SampleRate; Winamp) string SkinName; constant integer Version; Methods) Song Controls) Rewind(); FastForward(); Pause(); Stop(); Play(); Rewind5Secs(); FastFwd5Secs(); Playmodes) ToggleRepeatPlay(); ToggleShufflePlay(); Playlist) ClearPlaylist(); ChangeDirectory( string NewDir ); AddFile( string FileName ); Equalizer) SetPanning(int PanIndex); SetVolume(int newVal); Winamp) StartPlugIn( string PlugInName ); SendCommand(eWinampCommand Code); // see http://www.winamp.com/nsdn/winamp2x/dev/sdk/api.jhtml // and eWinampCommand constants Events) SongChange(); // (how) does this work? Constants) eWinampPlayStatus { WINAMP_STOPPED = 0, WINAMP_PLAYING = 1, WINAMP_PAUSED = 3 } eWinampCommand { WINAMP_FILE_QUIT = 40001, WINAMP_OPTIONS_PREFS = 40012, WINAMP_OPTIONS_AOT = 40019, WINAMP_FILE_REPEAT = 40022, WINAMP_FILE_SHUFFLE = 40023, WINAMP_HIGH_PRIORITY = 40025, WINAMP_FILE_PLAY = 40029, WINAMP_OPTIONS_EQ = 40036, WINAMP_OPTIONS_ELAPSED = 40037, WINAMP_OPTIONS_REMAINING = 40038, WINAMP_OPTIONS_PLEDIT = 40040, WINAMP_HELP_ABOUT = 40041, WINAMP_MAINMENU = 40043, WINAMP_REWIND = 40044, WINAMP_PLAY = 40045, WINAMP_PAUSE = 40046, WINAMP_STOP = 40047, WINAMP_FASTFWD = 40048, WINAMP_VOLUMEUP = 40058, WINAMP_VOLUMEDOWN = 40059, WINAMP_FFWD5S = 40060, WINAMP_REW5S = 40061, WINAMP_NEXT_WINDOW = 40063, WINAMP_OPTIONS_WINDOWSHADE = 40064, WINAMP_REWIND_SHIFT = 40144, WINAMP_PLAY_SHIFT = 40145, WINAMP_PAUSE_SHIFT = 40146, WINAMP_STOP_SHIFT = 40147, WINAMP_FASTFWD_SHIFT = 40148, WINAMP_REWIND_CTRL = 40154, WINAMP_PLAY_CTRL = 40155, WINAMP_PAUSE_CTRL = 40156, WINAMP_STOP_CTRL = 40157, WINAMP_FASTFWD_CTRL = 40158, WINAMP_OPTIONS_DSIZE = 40165, IDC_SORT_FILENAME = 40166, IDC_SORT_FILETITLE = 40167, IDC_SORT_ENTIREFILENAME = 40168, IDC_SELECTALL = 40169, IDC_SELECTNONE = 40170, IDC_SELECTINV = 40171, IDM_EQ_LOADPRE = 40172, IDM_EQ_LOADMP3 = 40173, IDM_EQ_LOADDEFAULT = 40174, IDM_EQ_SAVEPRE = 40175, IDM_EQ_SAVEMP3 = 40176, IDM_EQ_SAVEDEFAULT = 40177, IDM_EQ_DELPRE = 40178, IDM_EQ_DELMP3 = 40180, IDC_PLAYLIST_PLAY = 40184, WINAMP_FILE_LOC = 40185, WINAMP_OPTIONS_EASYMOVE = 40186, WINAMP_FILE_DIR = 40187, WINAMP_EDIT_ID3 = 40188, WINAMP_TOGGLE_AUTOSCROLL = 40189, WINAMP_VISSETUP = 40190, WINAMP_PLGSETUP = 40191, WINAMP_VISPLUGIN = 40192, WINAMP_JUMP = 40193, WINAMP_JUMPFILE = 40194, WINAMP_JUMP10FWD = 40195, WINAMP_JUMP10BACK = 40197, } // I think there's more. Here are some codes I figured out, under constant construction... 400219 : skins prefs 400221 : about 400224 : 258 show main 400266 : min pl 400298 : show browser 400310 : refresh all 400316 : go to some place on the net 400317 : vis prefs 400318 : jump to file 400320 : bookmark 400321 : add current song to bookmark 400322 : clear pl and stop?