Directory Control properties

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
kbosscawen
Member
Posts: 71
Joined: Thu Jul 03, 2003 8:53 am
Location: Raleigh, NC
Contact:

Directory Control properties

Post 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....
ScottBot
Site Admin
Posts: 2806
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post 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
Post Reply