layer 3 Posted February 1, 2005 Share Posted February 1, 2005 yellow... im creating a media player with a playlist but i got a problem... im using GUICtrlCreateListView and i made it list the songs from my music folder... then i have a play button.. so when you select say, "Trapt - Headstrong" then it would get the direct name of the mp3 file and play it... ok i got it, except using a msgbox, some return weird names like 68 some just say playlist, and some just have numbers... is this because of my music, or something wrong? some have no value... heres a few pics.. some also just have weird labesl FootbaG Link to post Share on other sites
Helge 3 Posted February 1, 2005 Share Posted February 1, 2005 I haven't been able to test ListView yet, but as far as I see there is no needfor a Listview in your script. Why not just use List ? However there mightbe something I'm missing or not seeing.(guess I have to get home and do some coding,now that there have come a rival mediaplayer-script.. ) Link to post Share on other sites
CyberSlug 6 Posted February 1, 2005 Share Posted February 1, 2005 You could possibly use Chr(51) through Chr(61) of the "Webdings" font (standard font with Windows 98 and above) for the buttons: GuiCreate("Example", 500, 200) For $i = 0 to 10 GuiCtrlCreateButton(Chr(51+$i), 40*$i, 10, 40, 40) GuiCtrlSetFont(-1, 24, 400, 0, "Webdings") Next GuiSetState() While GuiGetMsg() <> -3 Wend Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to post Share on other sites
SlimShady 1 Posted February 1, 2005 Share Posted February 1, 2005 You could possibly use Chr(51) through Chr(61) of the "Webdings" font (standard font with Windows 98 and above) for the buttons:GuiCreate("Example", 500, 200) For $i = 0 to 10 GuiCtrlCreateButton(Chr(51+$i), 40*$i, 10, 40, 40) GuiCtrlSetFont(-1, 24, 400, 0, "Webdings") Next GuiSetState() While GuiGetMsg() <> -3 Wend<{POST_SNAPBACK}> Nice finding Link to post Share on other sites
layer 3 Posted February 2, 2005 Author Share Posted February 2, 2005 (edited) (guess I have to get home and do some coding, now that there have come a rival mediaplayer-script.. ) youve made one too!? awesome! im usre it loos much better then mine.. thats the problem with my scripts.. lol, they look bad and get the job done with minimum requirements btw, CS thanks for the idea, ill try to implement it right now and Helge.. the reason i didint use list, was because i couldnt get it working the first time lol Edited February 2, 2005 by layer FootbaG Link to post Share on other sites
layer 3 Posted February 2, 2005 Author Share Posted February 2, 2005 but does anyone know of the other problem? i cant figure it out.. FootbaG Link to post Share on other sites
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now