Announcement

Collapse
No announcement yet.

Folder Manipulation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Folder Manipulation

    Here's a DLL that may come in handy.

    Allows you to:
    COPY a folder, it's sub-folders and files

    MOVE a folder, it's sub-folders and files

    DELETE a folder, it's sub-folders and files, with an option to send the files to the Recycle Bin

    RENAME a folder

    FOLDEREXIST

    Also, send it the Path of a folder and it will undo the ReadOnly attributes of a folder, its sub-folders, and files

    Here's a sample project

  • #2
    Re: Folder Manipulation

    Nice one, Worm.
    --[[ Indigo Rose Software Developer ]]

    Comment


    • #3
      Re: Folder Manipulation

      I'll admit that I'm lazy, but if someone needs documentation on the functions, and the parameters let me know. I don't want to take the time unless someone is actually going to use this.

      The sample app should really show you all you need to know, but if its not clicking for you, I'll throw something together.

      Thanks

      Comment


      • #4
        Re: Folder Manipulation

        Thx Worm!

        Comment


        • #5
          Re: Folder Manipulation

          Worm, Most usable....sweet.

          Thank You!

          Crash Davenport

          Comment


          • #6
            Re: Folder Manipulation

            Killer...

            Corey Milner
            Creative Director, Indigo Rose Software

            Comment


            • #7
              Re: Folder Manipulation

              Thanks Worm, fantastic as always. It’s startling, the speed with which you release these great new dlls. Thank you.

              AS wonderful as you have been to us in general, and me in particular, (that color picker is awesome) I have no right to ask or suggest any further extensions. I hope this doesn’t sound like I’m ungrateful for what you have already done, but being the inconsiderate person I am, here goes.

              I think it would be cool to have a few more string tools. You are a bit to blame here, because if I wasn’t already using your cool string dlls, I probably wouldn’t even think about wanting more. (That’s supposed to be a bit of a joke, I’m not really blaming anyone for anything). Anyway, working with delimited strings could be a bit handier for a few functions. Right now I can get a string from a delimited string at a certain index, but I can’t set or replace that string by delimited index. I hope my explanation makes some sense.

              I know that there are plenty of work-arounds to this limitation. Right now I just replace the ;; with the Line and Carriage returns (Thanks for the trick) and use the text line functions to set or replace values in a delimited field. It works, but direct manipulation would be cool. I realize that there are other work arounds also.

              I realize that there are Insert, Replace, Left, Right, Mid, etc. available now, and they can work fine for some situations, but less well for all. Insert, Left, Right, Mid are all character indexed rather than field (delimited string) indexed. And to use Replace, you need to know what you are looking for. You can ‘Get Delimited String’ first, but that’s an extra step. It would be handy to be able to just set, or replace the string at index 4 of a delimited string.

              I’m not knocking the current tool set of AMS. Those are exactly the right tools for certain situations, I’m just dreaming about new additional functions.

              Maybe I’m overlooking something that’s right in front of me (happens all the time) and maybe it’s not even a job for a dll (I truly have no clue), but then again, you conjure up so many magical tools, if it’s doable, you’ll probably be the fellow who does it.

              Whatever you have coming, I know I’ll be thrilled. Always makes me feel like a kid in a candy shop. Now, thanks to you, I have the power to wield complete folders & subs around with the same ease that was previously reserved to individual files. Every dll you give us makes us that much stronger, thank you.
              JimS

              Comment


              • #8
                Re: Folder Manipulation

                Jim,

                Look into Global Lists. By using the position, you can remove by position, and then add to by position.

                It's real simple to put a delimited variable into a Global List. If you need a sample, just give a yell.

                Comment


                • #9
                  Feeling Generous

                  See if this will do what ya need

                  Download Here

                  Comment


                  • #10
                    Re: Feeling Generous

                    You are incredible! Before I could even thank you for the Global Lists tip, you created a dll. You sure make my life easy, thank you so much. I’ll use the dll now, but will also work more with the Global Lists. I wonder how I missed those functions. Thank you for the tip and the dll…I’m rich.

                    You are awesome as always, Thanks again, and again.
                    JimS

                    Comment


                    • #11
                      Re: Feeling Generous

                      I've said it before and I'll say it again, there is so much under the hood in this software, sometimes it seems I only scratch the surface.

                      Anyhow, glad that the tip, and DLL are usefule.

                      Comment


                      • #12
                        Re: Feeling Generous

                        I agree Worm, the possibilities are staggering. If I had been in possession of this software 4-5 years ago during the halcyon days I could have literally changed the market in Edmonton, no exxageration. Where I live right now it costs about $75 CAN per hour to have someone develop software for you, i.e. to get someone to build a custom web browser, even a simple one, would probably cost you $1,000 CAN... Back "in the day" (a few years ago) it was 10-20 times that, as a matter of fact one particular company where I worked for a couple years did create a custom web browser back then named IP5 and I believe it cost them $30,000 USD or so just for the code, (see that browser here http://www.downseek.com/download/16710.asp)

                        Can you imagine if you could get $10,000 per browser nowadays with AMS 4.0 in yor toolkit? Hehe... But I digress.

                        Corey Milner
                        Creative Director, Indigo Rose Software

                        Comment

                        Working...
                        X