Page 1 of 1

Directory Control properties

Posted: Sat Nov 22, 2003 9:22 am
by kbosscawen
Are there any "hidden" properties that can be checked from a script for a Directory Control? I'd like to be able to select a directory (not a file) in a directory control and use a script to cruise through that directory to add its contents to a list, but I can't figure out where the Directory Control is pointing unless I select a file.



The basic thing I'm trying to do is add the entire contents of a directory to one of the Playlists in a WinAmp device through a PPC theme. Any other ideas on how I can do that?



As always, thanks Scott....

Posted: Sat Nov 22, 2003 10:34 am
by ScottBot
Directory Controls are a bit different than most controls, since they don't map to a Device/Property and there's no way to get the current directory. Unfortunately the 'select' button will change into a directory and not return the name.



Although this may not be exactly what you want, if you enter the full path name of a directory (instead of the full path and file name) in the Play Source Property Value, WinAmp will load all of the files in the directory into its playlist.



Scott