User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16

Thread: Clone Folder Widget!

  1. #1
    Clicker Multimedia Fusion 2
    Skeets's Avatar
    Join Date
    Apr 2007
    Location
    Utah, USA
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Clone Folder Widget!

    This widget uses only 2 objects to clone a folder and all sub folders and files to another folder. all you need to do is set the input file and output file strings contained in the folder tree object and it will automatically copy the folder.

    known issues: will not overwrite a file... the output name cannot be the same as an existing folder in the directory.
    Attached files Attached files

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,699
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)

    Re: Clone Folder Widget!

    Thanks Skeets.

    Marv
    ​455 MMF2 & CTF 2.5 Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clone Folder Widget!

    Please, consider this, since you're posting this as a public example.

  4. #4
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clone Folder Widget!

    I will now try to decipher the meaning of Nifflas' comment.

    The event editor only shows 3 items, but also says All events, All objects. This leads me to believe that the middle objects were cropped out, rather than hidden.

    The objects at the side of the image are more cryptic. Is there a meaning?

    Can, Cat, Food
    Popup, Message, Box, Alert, Notice
    Disc, CD, DVD
    Sign

    What could these mean?

    Signs Can Popup?
    Can the popups, ditch(discthcth) the signs?

    The can is the only thing I can be sure of it's meaning. Clearly it means Nifflas likes cat food. Or else he didn't feed his cat(s).

    Does the popup refer to a notice, more specifically an alert, stating something is wrong. Actually, that is a confirmation dialog. Are you sure you are happy with the way this is done? Do you wish to continue?

    Maybe the disc is amalgamous(4th time using that word today, still don't know what it means) with the Disc 2 of the MMF2 Case. Could that mean this work isn't original, as would make sense by the events being shown. Were they copied from another example?

    The sign. On the roads it shows how far to the next potential destination. Does this mean the widget is unrefined and is far from being done? Or does it mean that it is getting close, but not there yet.

    I will be quiet now.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clone Folder Widget!

    Basically, which of these representations of the same set of events are the most helpful, given that you'd later want to come back and change your code, or if you'd like someone else to learn from it and follow your thoughts?

    Commenting code is quick, easy, and essential. I comment everything, even if nobody else will see the code. Not commenting a public example that other users will see is beyond my understanding. It's like selling a can with an unidentified content, or forgetting to put the name of the location of a sign.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clone Folder Widget!

    hehe I figured it out from the title of the picture

  7. #7
    Clicker Multimedia Fusion 2
    Skeets's Avatar
    Join Date
    Apr 2007
    Location
    Utah, USA
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clone Folder Widget!

    I'm sorry I'm apparently not as neat as some people.... I didn't really plan on looking at the code again, really, since it works fine... my apologies if this bugs you....

  8. #8
    Clicker Multimedia Fusion 2
    Skeets's Avatar
    Join Date
    Apr 2007
    Location
    Utah, USA
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clone Folder Widget!

    ok fine... for those of you who like comments I did it. While doing it, I even realized one event that wasn't needed. so... here it is fully commented...
    Attached files Attached files

  9. #9
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clone Folder Widget!

    You really do need to get in the habit of using comments. Not just for other people that need to read the source file, but for your own sanity in a large project. Any decent programmer will tell you commenting is a must no matter what coding langauge you use.

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Clone Folder Widget!

    It's awesome that you did comment it!

Page 1 of 2 1 2 LastLast

Similar Threads

  1. 3D menu Widget - Wild Widget Contest entry
    By Czentnar in forum Widgets
    Replies: 16
    Last Post: 26th March 2011, 12:51 AM
  2. Clone folder?
    By Skeets in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 4th July 2009, 04:36 PM
  3. Folder attributes? Folder Size, created ETC?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th May 2009, 04:42 AM
  4. The Digit Widget [WIP] (multi-widget)
    By Raylax in forum Widgets
    Replies: 1
    Last Post: 13th December 2008, 11:42 PM
  5. How to add Company folder before Game folder?
    By Neonotso in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th February 2007, 10:02 PM

Posting Permissions

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