Jump to content

Recommended Posts

Posted (edited)

Readme

V1

To Come: Playlists.

-------------------

Directions: Keep the .jpg image inside of the same folder as AutoAmp.

To run music files just hit Play, and type in music file name with .mp3, .wma, or .wav

Keep it ez by just bringing all files into autoamp folder so u just have to type filename.

Ty sin for tellin me to add this =-D

Source Code foR AutoAmp Player

;AutoAmp Player
;Plays Music
;Many things To Be Added
; --Bounda--
;--------------------------
#include <GUIConstants.au3>

GUICreate("AutoAmp Player", 200, 40)
$Play = GUICtrlCreateButton("Play", 10, 10)
$Stop = GUICtrlCreateButton("Stop", 50, 10)
GuiCtrlCreatePic("AutoAmp.jpg", 100, 0, 100, 40)
GUISetState()

While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        Exit
    Case $msg = $Play
        ButtonPressed()
    Case $msg = $GUI_EVENT_CLOSE
        Exit
        Case $msg = $Stop
            SoundPlay("")
EndSelect
WEnd

Func ButtonPressed()
        $song = InputBox("Song", "Please insert the name of the song with .mp3 , .wma, .wav, etc depending on file type.")
        SoundPlay($song)
            Select
    Case $msg = $GUI_EVENT_CLOSE
        Exit
    Case $msg = $Stop
        Exit
        EndSelect
    EndFunc

AutoAmp_Player.zip

Edited by Bounda
Posted (edited)

Um, nice but you usually post the source in a 'Scripts and Scraps' Forum... right now it's almost useless for us. We go here to learn. So it would be nice to see the source.

**300th Post**

Huray! :)

Edited by =sinister=

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...