Files on HD or CD into list

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default Files on HD or CD into list

    I need to dig file names from hd without ext in list. I have problem to identify delimiter "\" and dots.
    Any other way?
    Tx



    interart_03 webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. PPD files are not in list
      PPD files won't show up in the list. I downloaded all the AGFA PPD's from their site, put them in System Folder> Extensions> Printer Descriptions...
    2. Recently Used Files List
      How do I get the list of recently used/opened files to appear in my Files pulldown menu? thanks JH
    3. get list of files in subdirectories?
      Howdy: I'd like to get a list of files in a directory and also in it's subdirectory - but I don't know how far the subdirectory goes. I can...
    4. Getting a list of the files in a directory
      Hi, I'm just starting out with ruby and I'm writing a script to rename a bunch of files in a directory to a way I want them to be (just to get more...
    5. How to list files recursively?
      Hi NG, I am looking for a way to list files *recursively* from a given directory. Are there *builtin*-functions, that handle this? Thanks,...
  3. #2

    Default Re: Files on HD or CD into list

    ok assuming you have a list with the full pathname of a list of files (from
    something like buddyAPI for instace) try this:

    set newPathList = []
    repeat with x in pathList
    set the itemdelimiter = "\"
    set temp = the last item of x
    set the itemdelimiter = "."
    set temp = item 1 of temp
    add newPathList, temp
    end repeat

    I haven't tested this so if you have any problems with it let me know and
    I'll check it tomorrow, but it should work.
    James

    "interart_03" <webforumsuser@macromedia.com> wrote in message
    news:bmst2q$782$1@forums.macromedia.com...
    > I need to dig file names from hd without ext in list. I have problem to
    identify delimiter "\" and dots.
    > Any other way?
    > Tx
    >
    >

    James Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139