topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday March 19, 2024, 6:21 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: DONE: Random (real random) file from folder and subfolders  (Read 130807 times)

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
This is a REQ and no IDEA because I can't imagine anyone else wanting this piece of software:

I've like many tv shows on my harddisk, and I can't really deside which one to watch. You have to specify:
- Top folder (where it will search including subfolders)
- Extensions (Which extensions to include in the sears)
- Number of times (like how many random files do you want)

The result is: A list of files where you can click on and when you click on it it selects the file in explorer. (Picasa does have that feature, it selects a picture in explorer, like that)

App name: Pick Me!
« Last Edit: March 05, 2009, 05:57 PM by Coeluh »

scancode

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #1 on: March 05, 2009, 09:45 PM »
Pick me!
a random file selector
(Big yay to weird requests!)

pm1.PNGDONE: Random (real random) file from folder and subfolders
pm2.PNGDONE: Random (real random) file from folder and subfolders
pm3.PNGDONE: Random (real random) file from folder and subfolders

Commandline usage: pickme.exe mp3;wma;aac/C:\documents and settings\nahuel\

that means, pickme.exe EXTENSIONS/PATH
edit, it's a forward slash

DO NOT use quotes in path.


20:06 06/03/2009
  • Now the listbox allows for multiple selection (for drag and drop)
20:18 06/03/2009
  • Added new "Compressed Files" preset.
12:53 07/03/2009
  • Extended selection thingy.
  • Now you have to use CTRL to drag files out of the list :(
  • Number of results bug fixed.
19:29 09/03/2009
  • Random number rounding bug fixed.
  • Extensions are not case-sensitive anymore.
14:24 10/03/2009
  • Bugfix: When using ALT+F4 to abort the current operation, Pick me! kept running on the background.
  • Bugfix: More rounding issues.
  • Code cleanup.
  • XP Styles support (!)
  • Now tracks moved/deleted files.
  • Modified dragging code to use  right mouse button. Now you get a nice popup menu.

Download (VB6 runtimes required on Windows 9x/NT/2000)
Also check my other programs at xxxx://www.jellyfishsystems.com/ Jellyfish Systems
« Last Edit: December 20, 2018, 07:24 PM by scancode, Reason: fixed download links »

Josh

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Points: 45
  • Posts: 3,411
    • View Profile
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #2 on: March 05, 2009, 09:52 PM »
Visual Basic 6? Scancode, should I laugh at you now?

scancode

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #3 on: March 05, 2009, 09:54 PM »
Visual Basic 6? Scancode, should I laugh at you now?

Surprised? Most of my DC-released programs are coded in VB6!

Why? Because it's the lang I feel more comfortable with, so if someone requires a crazy change, I can do it in no time.

And yes, you can laugh at me if you want. See if I care.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #4 on: March 05, 2009, 11:59 PM »
nice idea, nice work scancode  :up:

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #5 on: March 06, 2009, 03:05 AM »
Pick me!
a random file selector
(Big yay to weird requests!)


Download (VB6 runtimes required)  (see attachment in previous post)
Woow that's AMAZING. You are really good! Nice layout, everything.

I've one feature request. Is it hard to make the files directly drag-and-drop-able? Fromout the list? And maybe a tiny .ini which remembers last location, is that hard too?

And thanks for making me 1 year old.

And some command line request: Via a shortcut and parameter you can define the directory and the filetype. WHen you click the shortcut, it opens (instead of highlights) 1 random picked file.
« Last Edit: March 06, 2009, 03:10 AM by Coeluh »

scancode

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #6 on: March 06, 2009, 08:14 AM »
Woow that's AMAZING. You are really good! Nice layout, everything.
Thank you.

I've one feature request. Is it hard to make the files directly drag-and-drop-able? Fromout the list?
Done.

And maybe a tiny .ini which remembers last location, is that hard too?
Done, uses the registry (HKEY_CURRENT_USER\Software\VB and VBA Program Settings\Pick Me!\Config)

And thanks for making me 1 year old.
You're welcome.

And some command line request: Via a shortcut and parameter you can define the directory and the filetype. WHen you click the shortcut, it opens (instead of highlights) 1 random picked file.
Done, check the post for instructions.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #7 on: March 06, 2009, 08:17 AM »
people please remember to send a few credits to the author of a program if you want to support their work and say thank you; just click the gold coin under their name.

subrealms

  • Participant
  • Joined in 2009
  • *
  • Posts: 3
    • View Profile
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #8 on: March 06, 2009, 10:41 AM »
I found this page by googling "pick random file" and this little tool was so helpful that I registered to thank the author.  :Thmbsup:

scancode

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #9 on: March 06, 2009, 02:02 PM »
The software program could need a fee additional features like the ability to save the preferences
-gHacks

It saves them automatically. It wasn't saving the number of results tho. Fixed.

or multiple profiles for different file types, e.g. music, videos and text.
-gHacks

Added!

It would also be great if there would be an option to automatically pick and play the first file in the list.
-gHacks

There is, via the command line.
« Last Edit: March 06, 2009, 02:07 PM by scancode »

doombase

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #10 on: March 06, 2009, 03:49 PM »
hi Sancode, i think this app is a cool idea... played around with it and have one suggestion which would make it a lot more useful for us music lovers.  At your results screen, if the multiples are allowed for selecting, this would make adding to a playlist much easier.  Currently, I have to select one result at a time.  Otherwise, I love the idea.  It's great that a 1yr old came up with it.   ;D

scancode

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #11 on: March 06, 2009, 04:05 PM »
hi Sancode, i think this app is a cool idea... played around with it and have one suggestion which would make it a lot more useful for us music lovers.  At your results screen, if the multiples are allowed for selecting, this would make adding to a playlist much easier.  Currently, I have to select one result at a time.  Otherwise, I love the idea.  It's great that a 1yr old came up with it.   ;D


Done! Have fun!

subrealms

  • Participant
  • Joined in 2009
  • *
  • Posts: 3
    • View Profile
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #12 on: March 06, 2009, 04:09 PM »
I'm not into bloating it with additional features but it'll be nice to have another category with common compressed file formats like zip;rar;7zip

Thanks again :)

scancode

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #13 on: March 06, 2009, 04:18 PM »
I'm not into bloating it with additional features but it'll be nice to have another category with common compressed file formats like zip;rar;7zip

Thanks again :)

Another one bites the dust!
Have fun!

ghacks

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 50
    • View Profile
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #14 on: March 06, 2009, 04:40 PM »
You react pretty quick to requests, very nice ;) Think my post got you some attention from big sites like Lifehacker, congrats ;)
« Last Edit: March 06, 2009, 04:42 PM by ghacks »

scancode

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #15 on: March 06, 2009, 04:45 PM »
You react pretty quick to requests, very nice ;) Think my post got you some attention from big sites like Lifehacker, congrats ;)

 :Thmbsup:

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #16 on: March 07, 2009, 04:08 AM »
Dude you are holy to me! Very nice, the command line thing works great! One more question:

When I now click a file in the list, and then another one, the old one stays selected and the new one too. I would like to be able to select multiple files (and be able to drag them) with a first click and then a second click while holding shift or dragging hold mouse button selection (like in explorer).

people please remember to send a few credits to the author of a program if you want to support their work and say thank you; just click the gold coin under their name.
Thanks, I did not know how to do so.

scharmin

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #17 on: March 07, 2009, 08:33 AM »
really great app! but it shows me if i choose for example audio files and 1 result always one result more. if i say it should give me 2 results it gives me 3 files at the end and so on.
could you please fix this, because i think this program is very handy, but this issue disturbs me a little bit  :)

scancode

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #18 on: March 07, 2009, 08:56 AM »
I would like to be able to select multiple files (and be able to drag them) with a first click and then a second click while holding shift or dragging hold mouse button selection (like in explorer).

Done! Have fun!

really great app! but it shows me if i choose for example audio files and 1 result always one result more. if i say it should give me 2 results it gives me 3 files at the end and so on.
could you please fix this, because i think this program is very handy, but this issue disturbs me a little bit  :)

Fixed! A slipup in a for-loop :(

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #19 on: March 07, 2009, 09:00 AM »
I would like to be able to select multiple files (and be able to drag them) with a first click and then a second click while holding shift or dragging hold mouse button selection (like in explorer).

Done! Have fun!

really great app! but it shows me if i choose for example audio files and 1 result always one result more. if i say it should give me 2 results it gives me 3 files at the end and so on.
could you please fix this, because i think this program is very handy, but this issue disturbs me a little bit  :)

Fixed! A slipup in a for-loop :(

Drag and drop does not work in this latest release.

scancode

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #20 on: March 07, 2009, 09:04 AM »
Drag and drop does not work in this latest release.

Hints are in RED


12:53 07/03/2009 - Updated: Extended selection thingy. Now you have to use CTRL to drag files out of the list :( - Number of results bug fixed.

[ Invalid Attachment ]

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #21 on: March 07, 2009, 09:56 AM »
Drag and drop does not work in this latest release.

Hints are in RED


12:53 07/03/2009 - Updated: Extended selection thingy. Now you have to use CTRL to drag files out of the list :( - Number of results bug fixed.

(see attachment in previous post)
Oops. I'm sorry! But when I select them all and then hold control and click to start the dragging: One becomes unselected...

scancode

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
  • I will eat Cody someday.
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #22 on: March 07, 2009, 10:00 AM »
Drag and drop does not work in this latest release.

Hints are in RED


12:53 07/03/2009 - Updated: Extended selection thingy. Now you have to use CTRL to drag files out of the list :( - Number of results bug fixed.

(see attachment in previous post)
Oops. I'm sorry! But when I select them all and then hold control and click to start the dragging: One becomes unselected...

Then click it again! Microsoft's fault, I guess. :(

Coeluh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 273
  • Family Guy ^^
    • View Profile
    • Jeroen Coelen
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #23 on: March 07, 2009, 02:46 PM »
Drag and drop does not work in this latest release.

Hints are in RED


12:53 07/03/2009 - Updated: Extended selection thingy. Now you have to use CTRL to drag files out of the list :( - Number of results bug fixed.

(see attachment in previous post)
Oops. I'm sorry! But when I select them all and then hold control and click to start the dragging: One becomes unselected...

Then click it again! Microsoft's fault, I guess. :(
Ok, that's cool.

subrealms

  • Participant
  • Joined in 2009
  • *
  • Posts: 3
    • View Profile
    • Donate to Member
Re: REQ - Random (real random) file from folder and subfolders
« Reply #24 on: March 09, 2009, 03:21 AM »
Just a quick note about compression formats; multi part rar files often start with .r00 or even .001
In case you may want to add them too :)

This is going cool!  :Thmbsup: