Welcome Guest.   Make a donation to an author on the site November 21, 2009, 02:56:11 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Latest Newsletter: November 6th, 2009 - Codename "Bird Meets Frog"
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1] 2 3   Go Down
  Print  
Author Topic: Group files from within folders  (Read 2581 times)
Fred Nerd
Supporting Member
**
Posts: 127


see users location on a map View Profile Give some DonationCredits to this forum member
« on: October 24, 2009, 07:47:14 PM »

This probably exists, but I can't find it.
I should be able to do it in AHK, but I am sure there are people who can do it faster and better.

All I want to do is to select a collection of folders
And then want the program to select all the files in them and put them in a single folder.

What I want it for (ATM) is that most medai players store music in individual folders, which is a nuisance when you want to burn it directly to disc.

Also if you want to review files before sending them to an iPod.

Photo organisers can do this too.

So a simple Open folder window (allowing multiple folders to be selected)
Then read all files from inside
Select destination folder and then copy all files to there.
Or even just a list which I can paste into a burn program, but they don't like that unless it perfect.....

Thanks for any help.

Or if no help, watch this space and eventually I'll do it myself and post it... (I hope)

Logged
skwire
Charter Member
***
Posts: 805



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: October 25, 2009, 02:41:05 PM »

So a simple Open folder window (allowing multiple folders to be selected)
Then read all files from inside
Select destination folder and then copy all files to there.

Do you want all the files copied into one destination folder (flat) or did you want the directories' structures selected preserved?
Logged

Fred Nerd
Supporting Member
**
Posts: 127


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #2 on: October 26, 2009, 04:38:24 AM »

Flat.
Then I can find the destination folder and CTRL+A the lot.
Instead of having to sort through 50 folders (artist names) with one song each in it.

Thanks
Logged
skwire
Charter Member
***
Posts: 805



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: October 26, 2009, 09:43:01 PM »

Next question...the standard Windows folder selection dialog doesn't allow multiple selections.  This is the dialog I'm talking about:



However, the standard Windows file selection dialog does allow mutiple selections within its view using the standard control/shift-select modifiers:



I can use either, both or try to come up with a custom treeview that has checkboxes to allow you multiple folder selection via a tree.  Also, the app will support drag&drop of files and folders as well.  Your thoughts before I proceed?
« Last Edit: October 26, 2009, 09:53:32 PM by skwire » Logged

Fred Nerd
Supporting Member
**
Posts: 127


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #4 on: October 27, 2009, 04:16:37 AM »


I think it needs a custom format, I thought of something like what some data cd burning software has (power 2go had it I think), where you have a tree view on the left side, then select the folder and click >>> and get it to the selection window on the right.

Drag and drop would also work fine since you can CTRL select multiple folders and then drag them in one go.

Thanks for your help
Logged
skwire
Charter Member
***
Posts: 805



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: October 29, 2009, 01:28:23 AM »

Apologies for this taking so long.  Here's a sample of where the GUI is at:



I think you can see where it's headed.

  • That bottom-right listview will be your "collection" list.
  • You can add entire folders of files from the treeview on the left.
  • You can pick-and-choose files from the upper-right treeview to add to your collection.
  • You can drag-and-drop files/folders from other file managers onto the collection list.

After your list is where you want it, you will then be able to copy it out to a folder of your choice.  Is this close to what you had in mind?
Logged

Fred Nerd
Supporting Member
**
Posts: 127


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #6 on: October 29, 2009, 03:03:45 AM »

Thanks heaps for your help,
This is about 10 times better than what I first thought of.

Yep, thats exactly what I wanted. Can you multipe select folders in the tree view and transfer them in one go?

Logged
skwire
Charter Member
***
Posts: 805



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #7 on: October 29, 2009, 03:22:49 AM »

Thanks heaps for your help,
This is about 10 times better than what I first thought of.

Great, I hoped I was going in the right direction.

Yep, thats exactly what I wanted. Can you multipe select folders in the tree view and transfer them in one go?

Hmmm...no, not by control-selecting.  However, I could make the treeview control have checkboxes that would allow such behaviour.  Would this be acceptable?

As always, we're going to need a name for this Coding Snack.  <queue in Cranioscopical's entry music>   tongue
Logged

skwire
Charter Member
***
Posts: 805



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #8 on: October 29, 2009, 03:44:55 AM »

However, I could make the treeview control have checkboxes that would allow such behaviour.

Well, crap, maybe not.  The problem is that AHK's TreeView control is somewhat limited; EVERY thing has to be handled manually.  It makes it very difficult to use it to display and manipulate a disk's folder structure without scanning the WHOLE disk structure first.
Logged

Fred Nerd
Supporting Member
**
Posts: 127


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #9 on: October 29, 2009, 06:19:21 AM »

Is that in AHK? I thought I knew a bit about it, but I can't make it do that......

Don't worry, its definately a lot easier than using windows explorer....
However is easiest for you.

Thanks
Logged
skwire
Charter Member
***
Posts: 805



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #10 on: October 29, 2009, 06:28:58 AM »

All my stuff is written in AHK.  http://skwire.dcmembers.com/

In regards to the multi-select issue, I did add an option that will let you recursively add the selected folder.  Maybe that will help.
Logged

tomos
Charter Member
***
Posts: 3,304



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #11 on: October 29, 2009, 06:48:17 AM »



FolderGroupie
(?)
Logged
cranioscopical
Friend of the Site
Supporting Member
**
Posts: 1,941



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #12 on: October 29, 2009, 10:10:16 AM »



FolderGroupie
(?)
I like it!!  smiley  thumbs up thumbs up thumbs up

Onefold?
Onefolder?
Unfolder?
Centrefold?
Unifold?
Folderall?
Logged

Chris
skwire
Charter Member
***
Posts: 805



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #13 on: October 29, 2009, 10:49:44 AM »

I had a few in mind:

File Larder  cheesy
File Hoarder
File Trove
Logged

cranioscopical
Friend of the Site
Supporting Member
**
Posts: 1,941



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #14 on: October 29, 2009, 11:01:00 AM »

I had a few in mind:

File Larder  cheesy
File Hoarder
File Trove

All good!

EnfileAid?

I'm bankrupt.
Logged

Chris
skwire
Charter Member
***
Posts: 805



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #15 on: October 29, 2009, 11:06:56 AM »

Fred Nerd!  What say you?!  Pick one or make one up.  =]
Logged

skwire
Charter Member
***
Posts: 805



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #16 on: October 29, 2009, 11:13:32 AM »

Here's a more recent screenshot:

Logged

Target
Honorary Member
**
Posts: 529



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #17 on: October 29, 2009, 04:40:50 PM »

here's a shot of a version I've been working on (I thought Skwire had gotten sidetracked)



it's perhaps not as 'comprehensive' as Skwires offering and I've still got some details to work out, but it seems to meet your requirements
Logged

The computer may beat me at chess, but it's no match for me at kick boxing...
cranioscopical
Friend of the Site
Supporting Member
**
Posts: 1,941



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #18 on: October 29, 2009, 04:48:52 PM »

here's a shot of a version I've been working on
And I have just the title for you, how about
Logged

Chris
Target
Honorary Member
**
Posts: 529



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #19 on: October 29, 2009, 04:55:52 PM »

here's a shot of a version I've been working on
And I have just the title for you, how about

everbodies gotta be a comedian...

I seriously thought Skwire would have had this well and truly wrapped up by now, else I might have stepped in sooner (I only started yesterday)
Logged

The computer may beat me at chess, but it's no match for me at kick boxing...
Fred Nerd
Supporting Member
**
Posts: 127


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #20 on: October 29, 2009, 05:24:56 PM »

You are all legends.....
I can't even follow this thread fast enough, let alone get some code together....

How about:

Folder Untangler
The Grim Collector
NoMoreFolders
All in one, and one in all
You're FILED!!

I think I will have to go back to 'Programming School'
D*mn that assignment that involved Winsock, it threw me right off track.
*thinks (for 100th time) I WILL master it. It won't beat me*
Logged
Target
Honorary Member
**
Posts: 529



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #21 on: October 29, 2009, 05:28:41 PM »

D*mn that assignment that involved Winsock, it threw me right off track.
*thinks (for 100th time) I WILL master it. It won't beat me*

I'm with you, I've still got a flat spot on my forehead from hitting that 'wall'...
Logged

The computer may beat me at chess, but it's no match for me at kick boxing...
Fred Nerd
Supporting Member
**
Posts: 127


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #22 on: October 29, 2009, 05:31:34 PM »

@Target, do you think we can get them to make it more friendly for people who start with AHK? I don't mind mind spending hours trying to program/bug fixing, but I have spent hours and don't think I'm any closer, or hardly any closer....

PS, I thought I had a large collection of music.... but those are impressive..... Makes my 8000 or so songs on my iPod look small
Logged
Target
Honorary Member
**
Posts: 529



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #23 on: October 29, 2009, 05:55:38 PM »

@Target, do you think we can get them to make it more friendly for people who start with AHK? I don't mind mind spending hours trying to program/bug fixing, but I have spent hours and don't think I'm any closer, or hardly any closer....

I don't think it's a case of making it easier, but I think that for the beginner the leap to API programming is a large one if you don't have any background or knowledge (there's a significant gap there)

FWIW I can understand the concepts, I just can't make the step to the implementation (I have a working solution to that challenge, but I don't really understand it.  Also as some of the code is taken from somewhere else so I can't and wont submit it...

Quote
Makes my 8000 or so songs on my iPod look small

where did this figure come from?
Logged

The computer may beat me at chess, but it's no match for me at kick boxing...
skwire
Charter Member
***
Posts: 805



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #24 on: October 29, 2009, 06:08:54 PM »

I seriously thought Skwire would have had this well and truly wrapped up by now, else I might have stepped in sooner (I only started yesterday)

Normally, I would say I would have.  However, I wanted to make the tree navigation very responsive.  In other words, I didn't want to have to scan the user's ENTIRE drive and folder structures before displaying the tree or application itself.  On most people's systems these days, that has the potential to take forever.  I also wanted the icons to look like a normal windows app.  This took a bit of extra research and testing.  It's almost ready for a release.

@Target, please release yours as well.  It's always good to have a choice.
« Last Edit: October 29, 2009, 06:11:06 PM by skwire » Logged

Pages: [1] 2 3   Go Up
  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
SMF © 2006-2009, Simple Machines LLC

social bookmark this page