forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Winamp API

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 3 Source Code
View previous topic :: View next topic  
Author Message
iMPA
Newbie


Joined: 26 May 2001
Posts: 9
Location: Spain

PostPosted: Thu Jan 03, 2002 10:44 pm    Post subject: Winamp API Reply with quote

Well, a way to manage Winamp from VDS applications...
(VDS 4 compatible Laughing )

Code:

Title Winamp API
  DIALOG CREATE,Winamp API,-1,0,350,51,nomin
  DIALOG ADD,STATUS,STATUS,:. iMPA :.
if @greater(3.6,@sysinfo(dsver))
  DIALOG ADD,COMBO,COMBO,5,5,200,21,COMBO,CLICK,LIST
  DIALOG ADD,BUTTON,TEST,5,210,65,21,TEST API,DEFAULT
  DIALOG ADD,BUTTON,COPY,5,280,65,21,COPY ID 
else
  DIALOG ADD,COMBO,COMBO,5,5,200,21,COMBO,,CLICK,LIST
  DIALOG ADD,BUTTON,TEST,5,210,65,21,TEST API,TEST API,DEFAULT
  DIALOG ADD,BUTTON,COPY,5,280,65,21,COPY ID,COPY ID
end 
 
  list loadtext,combo,
" Previous track button
" Next track button
" Play button
" Pause/Unpause button
" Stop button
" Fadeout and stop
" Stop after current track
" Fast-forward 5 seconds
" Fast-rewind 5 seconds
" Start of playlist
" Go to end of playlist
" Open file dialog
" Open URL dialog
" Open file info box
" Set time display mode to elapsed
" Set time display mode to remaining
" Toggle preferences screen
" Open visualization options
" Open visualization plug-in options
" Execute current visualization plug-in
" Toggle about box
" Toggle title Autoscrolling
" Toggle always on top
" Toggle Windowshade
" Toggle Playlist Windowshade
" Toggle doublesize mode
" Toggle EQ
" Toggle playlist editor
" Toggle main window visible
" Toggle minibrowser
" Toggle easymove
" Raise volume by 1%
" Lower volume by 1%
" Toggle repeat
" Toggle shuffle
" Open jump to time dialog
" Open jump to file dialog
" Open skin selector
" Configure current visualization plug-in
" Reload the current skin
" Close Winamp
" Moves back 10 tracks in playlist
" Show the edit bookmarks
" Adds current track as a bookmark
" Play audio CD
" Load a preset from EQ
" Save a preset to EQF
" Opens load presets dialog
" Opens auto-load presets dialog
" Load default preset
" Opens save preset dialog
" Opens auto-load save preset
" Opens delete preset dialog
" Opens delete an auto load preset dialog   
   
  list create,1 
  list loadtext,1,
"40044
"40048
"40045
"40046
"40047
"40147
"40157
"40148
"40144
"40154
"40158
"40029
"40155
"40188
"40037
"40038
"40012
"40190
"40191
"40192
"40041
"40189
"40019
"40064
"40266
"40165
"40036
"40040
"40258
"40298
"40186
"40058
"40059
"40022
"40023
"40193
"40194
"40219
"40221
"40291
"40001
"40197
"40320
"40321
"40323
"40253
"40254
"40172
"40173
"40174
"40175
"40176
"40178
"40180

  DIALOG SHOW
:Evloop
  wait event
  goto @event()
:COMBOCLICK
  list seek,1,@index(combo)
  %%id = @item(1)
  dialog set,status,id : %%id
  goto evloop
:TESTBUTTON
rem All versions of Winamp 1.x and 2.x have the class "Winamp v1.x"
  %1 = @sendmsg(#Winamp v1.x,$0111,%%id,)
  goto evloop
:COPYBUTTON
  clipboard set,%%id
  goto evloop   
:Close
  exit
 


Rolling Eyes

_________________
share what you know, learn what you don't
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 3 Source Code All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group