Jump to content

B3TA_SCR1PT3R

Active Members
  • Posts

    211
  • Joined

  • Last visited

Everything posted by B3TA_SCR1PT3R

  1. does this show the files in the list on ur comp? cuz i copyed the code and it seems like its working but it just shows blank items and then (for some odd reason) the last song shows up.... ???help again plz???
  2. so im trying 2 make a media player that list all .mp3's in my music folder and im using the GuiCtrlCreateListView 2 do it so u can select the song u want heres wat i have #NoTrayIcon #include <GuiConstants.au3> GuiCreate("Mizedia-Plizaya",500,300) $filenumber = DirGetSize(@MyDocumentsDir & "\My Music\",1) GuiCtrlCreateLabel("Media Files...(" & $filenumber[1] & ")",300,250) $list = GuiCtrlCreateListView("Title|Artist",5,10,490,185, $LVS_SINGLESEL + $LVS_EX_FULLROWSELECT + $LVS_SHOWSELALWAYS) $list_song = GuiCtrlCreateListViewItem("",$list) $search = FileFindFirstFile(@MyDocumentsDir & "\My Music\*.*") GuiSetState() While 1 $msg = GuiGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit $file_songs = FileFindNextFile($search) $sort = StringReplace($file_songs, ".mp3", "|") GuiCtrlSetData($list_song, $sort) WEnd FileClose($search) How Do i make it 2 where it will show all files 1 under the other right now it shows 1 then clears the list then shows the next so at the end i only see the last song in my music Do i need 2 make a Func for this??? (this isnt the whole script by the way im gona add buttons and watnot)
×
×
  • Create New...