Hi, here is the .apz file for my mp3 player copier, hope someone can help me make it do what it needs to do!
Copying MP3 files to MP3 players
Collapse
X
-
Originally posted by Arty-MediaHi, here is the .apz file for my mp3 player copier, hope someone can help me make it do what it needs to do!
Code:--Get the drive letter tSel = ListBox.GetSelected("tblDrives") if tSel then strDrive = ListBox.GetItemText("tblDrives", tSel[1]) --Get Files tSel = ListBox.GetSelected("files") if tSel then --copy each item for i,v in tSel do --get the data element which contains the file name strFile = ListBox.GetItemData("files", tSel[i]); --copy to the drive above, you could add a callback function to show the files being copies --there is a callback function in the help file. File.Copy(strFile, strDrive, false, false, false, true, nil); end else Dialog.Message("Songs", "Select the files you want to copy to your ".. strDrive.." Drive"); end else Dialog.Message("Drive", "Please select a drive where you want to copy your music"); return; end
TJ-Tigger
"A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
"Draco dormiens nunquam titillandus."
Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine
-
-
I made some changes to your app. I tried to comment the areas that I changed. I think your going to want to use a callback on your copy to give the user a visual of what's going on, but I left that for you to hammer on a bit. Post back if you need help.Attached Files
Comment
-
Comment