AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Dead] Yet Another Media Player!

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
PurloinedHeart



Joined: 04 Apr 2008
Posts: 209
Location: Canada

PostPosted: Mon Jun 16, 2008 1:07 am    Post subject: [Dead] Yet Another Media Player! Reply with quote

Dead due to lack of intrest

Portable Player
For those who can't install winamp on the school's computer

V 1.0
http://www.autohotkey.net/~PurloinedHeart/Stop.zip



Code:

#NoTrayIcon
SetBatchLines -1

Gui, Color, 0
Gui, -Caption
Gui, Font, S15
Gui, Add, Text, x2 y0 gAbout cRed s50, ©
Gui, Add, Text, x185 y0 gMinimize cRed, -
Gui, Add, Text, x195 y0 gRollUD cRed, µ
Gui, Add, Text, x210 y0 gGuiClose cRed, x
Gui, Font, S10
Gui, Add, Text, cWhite x20 y5 h25 w162 gMoveWindow vCurrentSong cBlue
Gui, Add, Picture, x13 y36 gBackButton,     Back.PNG
Gui, Add, Picture, x43 y36 gPlayButton ,    Play.PNG
Gui, Add, Picture, x72 y36 gPauseButton,    Pause.PNG
Gui, Add, Picture, x102 y36 gStopButton ,   Stop.PNG
Gui, Add, Picture, x131 y35 gForwardButton, Forward.PNG
Gui, Add, Slider, x161 y35 w50 h20 AltSubmit gSliderVolume vVolume, 100
Gui, Font, s7
Gui, Add, ListView, -Hdr x18 w194 h220 gPlaySong, Name
Gui, Add, Button, gAdd, Add
Gui, Show, w230 h330, Portable Player
return

MoveWindow: ;Thanks to SKAN
PostMessage, 0xA1, 2,,, A
Return

About:
Msgbox, Made by:`nAbhishek Regmi
return

Minimize:
Gui, Minimize
return

RollUD:
SetBatchLines 20
Roll := 25
Unroll := 330
if Up != 1
 {
  Up++
  Loop 305
   {
    Unroll--
    Gui, Show, w230 h%Unroll%
   }
 }
else
 {
  Up--
  Loop 305
   {
    Roll++
    Gui, Show, w230 h%Roll%
   }
 }
SetBatchLines -1
return

BackButton:
;Finish me!
return

PlayButton:
;Finish Me!
GuiControl,, CurrentSong, [Song title :S]
return

PauseButton:
;Finish Me!
return

StopButton:
Soundplay, \
GuiControl,, CurrentSong
return

ForwardButton:
;Finish Me!
return

SliderVolume:
SoundSet, %Volume%
return

Add:
FileSelectFile, Files, M 3, ,, (*.wav; *.mp3; *.ogg)
if Files =
 return
Loop, Parse, Files, `n
{
 if A_Index = 1
  Directory = %A_LoopField%
 else
  LV_Add("",A_LoopField)
}
return

PlaySong:
LV_GetText(SPlay, A_EventInfo)
SoundPlay, %Directory%/%SPlay%
GuiControl,, CurrentSong, %SPlay%
return

GuiClose:
ExitApp


Last edited by PurloinedHeart on Sun Jul 06, 2008 10:57 pm; edited 3 times in total
Back to top
View user's profile Send private message
PurloinedHeart



Joined: 04 Apr 2008
Posts: 209
Location: Canada

PostPosted: Mon Jun 16, 2008 11:39 pm    Post subject: Reply with quote

Small Update - Animation when you roll/unroll

Left To Do:
-Pause
-Current Song Playing (Song Name from ID3V1 instead of File Name)
-Progress Slider [Select where to go in song]
-Next Song
-Previous Song
-Play Button
-Random Song
-Song Length
-Song Names in List instead of File Name
-Rob a Bank
-Add Songs from Folder
-Skins
-Make new 'Add' Button
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group