Results 1 to 7 of 7

Thread: Display contents of directory

  1. #1
    Join Date
    Jun 2005
    Posts
    339

    Default Display contents of directory

    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

  2. #2
    Join Date
    Sep 2009
    Posts
    9

    Default

    Hi,
    did you find a way?
    I'm interested too...

    Philippe

  3. #3
    Join Date
    Jun 2005
    Posts
    339

    Default Nope.

    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

  4. #4
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    I've not done this here, but I would probably do it using a ListManager object.
    --Rob

  5. #5
    Join Date
    May 2004
    Location
    Dallas, TX
    Posts
    1,125

    Default

    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.
    Rick

    Girder 6.0 - Elk M1 Gold - JRMC 11.1 w/ M-Audio Delta 410 - NetRemote - BlueIris DVR
    Girder 6 Plugins - Elk M1/EZ8, Pushover Connector and more on the way.


    Visit My Showcase

  6. #6
    Join Date
    Jun 2005
    Posts
    339

    Default The goal...

    ...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

  7. #7
    Join Date
    May 2004
    Location
    Dallas, TX
    Posts
    1,125

    Default

    Try this.

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

    Girder 6.0 - Elk M1 Gold - JRMC 11.1 w/ M-Audio Delta 410 - NetRemote - BlueIris DVR
    Girder 6 Plugins - Elk M1/EZ8, Pushover Connector and more on the way.


    Visit My Showcase

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •