PDA

View Full Version : Display contents of directory



kwaugh
September 25th, 2009, 07:52 PM
I'm sure with enough beer and time, I could cobble this together, but being lazy, I'd like to leverage someone elses work if possible!

I have a number of files in a directory and I'd like to display the list of files in rows similar to the way you would with GAC.

Does anyone have a ccf that they done this in that they'd be willing to share?

Thanks!

K

pmaire
October 1st, 2009, 08:16 AM
Hi,
did you find a way?
I'm interested too...

Philippe

kwaugh
October 1st, 2009, 10:59 AM
I ended up hardcoding the names of the files into the CCF.

Maybe this 'bump' will catch the attention of someone who has done it!

Thanks,

K

Rob H
October 1st, 2009, 12:38 PM
I've not done this here, but I would probably do it using a ListManager object.

harleydude
October 1st, 2009, 08:34 PM
K

Could you describe your ultimate goal in doing this?

I have some of G4 code that did something like this. With some work could be converted to NR.

kwaugh
October 2nd, 2009, 06:02 PM
...would be to have a directory listing displayed as a list in NR.

I have a number of alarm wavs in a directory. When setting up an alarm, I want the user to be able to display the list of files and pick the one that will be associated with the alarm.

any code that I could use as a starting point would be appreciated!

Thanks!

K

harleydude
October 2nd, 2009, 09:10 PM
Try this.

The Start button contains an action to initiate the lookup for the specified folder.