Welcome Guest.   Make a donation to an author on the site September 02, 2014, 09:13: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.
 
Read the Practical Guide to DonationCoder.com Forum Search Features
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1] 2 3 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: DONE: Random (real random) file from folder and subfolders  (Read 37924 times)
Coeluh
Supporting Member
**
Posts: 273


Family Guy ^^

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« on: March 05, 2009, 05:55:49 PM »

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:23 PM by Coeluh » Logged
scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: March 05, 2009, 09:45:57 PM »

Pick me!
a random file selector
(Big yay to weird requests!)




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 Sad
  • 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 Jellyfish Systems
« Last Edit: December 19, 2010, 03:12:08 PM by scancode » Logged

Josh
Charter Honorary Member
***
Posts: 3,329



View Profile Give some DonationCredits to this forum member
« Reply #2 on: March 05, 2009, 09:52:36 PM »

Visual Basic 6? Scancode, should I laugh at you now?
Logged

Strength in Knowledge
scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: March 05, 2009, 09:54:04 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.
Logged

mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: March 05, 2009, 11:59:10 PM »

nice idea, nice work scancode  thumbs up
Logged
Coeluh
Supporting Member
**
Posts: 273


Family Guy ^^

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: March 06, 2009, 03:05:50 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:06 AM by Coeluh » Logged
scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: March 06, 2009, 08:14:38 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.
Logged

mouser
First Author
Administrator
*****
Posts: 33,294



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: March 06, 2009, 08:17:59 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.
Logged
subrealms
Participant
*
Posts: 3


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #8 on: March 06, 2009, 10:41:15 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
Logged
scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: March 06, 2009, 02:02:00 PM »

Quote from: gHacks
The software program could need a fee additional features like the ability to save the preferences

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

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

Added!

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

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

doombase
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #10 on: March 06, 2009, 03:49:54 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.   Grin
Logged
scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #11 on: March 06, 2009, 04:05:59 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.   Grin


Done! Have fun!
Logged

subrealms
Participant
*
Posts: 3


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #12 on: March 06, 2009, 04:09:20 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 smiley
Logged
scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #13 on: March 06, 2009, 04:18:49 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 smiley

Another one bites the dust!
Have fun!
Logged

ghacks
Honorary Member
**
Posts: 49


View Profile Give some DonationCredits to this forum member
« Reply #14 on: March 06, 2009, 04:40:01 PM »

You react pretty quick to requests, very nice Wink Think my post got you some attention from big sites like Lifehacker, congrats Wink
« Last Edit: March 06, 2009, 04:42:06 PM by ghacks » Logged
scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #15 on: March 06, 2009, 04:45:06 PM »

You react pretty quick to requests, very nice Wink Think my post got you some attention from big sites like Lifehacker, congrats Wink

 Thmbsup
Logged

Coeluh
Supporting Member
**
Posts: 273


Family Guy ^^

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #16 on: March 07, 2009, 04:08:01 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.
Logged
scharmin
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #17 on: March 07, 2009, 08:33: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  smiley
Logged
scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #18 on: March 07, 2009, 08:56:27 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  smiley

Fixed! A slipup in a for-loop Sad
Logged

Coeluh
Supporting Member
**
Posts: 273


Family Guy ^^

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #19 on: March 07, 2009, 09:00:32 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  smiley

Fixed! A slipup in a for-loop Sad

Drag and drop does not work in this latest release.
Logged
scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #20 on: March 07, 2009, 09:04:43 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 Sad - Number of results bug fixed.


Logged

Coeluh
Supporting Member
**
Posts: 273


Family Guy ^^

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #21 on: March 07, 2009, 09:56:35 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 Sad - Number of results bug fixed.

Oops. I'm sorry! But when I select them all and then hold control and click to start the dragging: One becomes unselected...
Logged
scancode
Honorary Member
**
Posts: 636



I will eat Cody someday.

see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #22 on: March 07, 2009, 10:00:51 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 Sad - Number of results bug fixed.

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. Sad
Logged

Coeluh
Supporting Member
**
Posts: 273


Family Guy ^^

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #23 on: March 07, 2009, 02:46:02 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 Sad - Number of results bug fixed.

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. Sad
Ok, that's cool.
Logged
subrealms
Participant
*
Posts: 3


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #24 on: March 09, 2009, 03:21:54 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 smiley

This is going cool!  Thmbsup
Logged
Pages: [1] 2 3 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.06s | Server load: 0.08 ]