Go Back   Computer Juice > Computer Software > General Software Chat
Register Points Site Spy New Posts Donate Unanswered Posts Members Search

>>> Get Paid to Hang Out Here! Activity = Points = Prizes. Want to Know More? <<<

Reply
 
LinkBack Thread Tools
  #1  
Old 15-11-2007, 12:34 AM
No Avatar
CJ Member
 
andrewanimation is offline
 
Join Date: Sep 2007
Last Online: 26-06-2008 02:20 AM
Posts: 50
iTrader: (0)
andrewanimation is on a distinguished road
Default Program that selects one file from a folder at random?

Hello,

I'm looking for a pretty odd program that I don't know how to successfully Google for. I'd like one that randomly selects one file from a folder. Completely randomly. I don't have experience with scripts or macros or whatever this would require, but if anyone can tell me how to create something like that, it would be useful as well. Or any other good idea for how to accomplish the same basic point, as long as it selects one from the folder, so I don't have to type up every file in a program. I'd like it to just select one from the folder itself, especially as the files get in the hundreds.

Thank you
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #2  
Old 15-11-2007, 09:12 PM
No Avatar
CJ New Member
 
LightWarrior is offline
Send a message via AIM to LightWarrior Send a message via MSN to LightWarrior
 
Join Date: Nov 2007
Last Online: 20-11-2007 08:47 PM
Posts: 42
iTrader: (0)
LightWarrior is on a distinguished road
Default Program that selects one file from a folder at random?

I've never heard of this program before, but I could try making one for you. I would say either a script in a language like AutoIt or a small console application created in C++.

Light
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #3  
Old 16-11-2007, 12:03 AM
No Avatar
CJ Member
 
andrewanimation is offline
 
Join Date: Sep 2007
Last Online: 26-06-2008 02:20 AM
Posts: 50
iTrader: (0)
andrewanimation is on a distinguished road
Default Program that selects one file from a folder at random?

Originally Posted by LightWarrior View Post
I've never heard of this program before, but I could try making one for you. I would say either a script in a language like AutoIt or a small console application created in C++.

Light
I have no experience in these things, but if you'd be kind enough to try to program it for me, I'd appreciate it a lot. :) I'm subscribed to this thread.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #4  
Old 18-11-2007, 02:34 AM
sophus's Avatar
sophus  Brazil
CJ Donator
 
sophus is offline
 
Join Date: Nov 2007
Last Online: 05-09-2008 04:48 PM
Posts: 27
iTrader: (0)
sophus is on a distinguished road
Default Program that selects one file from a folder at random?

I'm afraid I've never heard of such program.
What do you mean by selecting a file? What kind of file is this you're talking about?
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #5  
Old 25-11-2007, 02:23 PM
No Avatar
CJ Member
 
andrewanimation is offline
 
Join Date: Sep 2007
Last Online: 26-06-2008 02:20 AM
Posts: 50
iTrader: (0)
andrewanimation is on a distinguished road
Default Program that selects one file from a folder at random?

Originally Posted by sophus View Post
I'm afraid I've never heard of such program.
What do you mean by selecting a file? What kind of file is this you're talking about?
oops, sorry i didn't check this thread in so long!! i never got an e-mail saying someone answered! D:
well, it's kind of tough to explain, but i'm an artist, and i often draw free art for people for fun, on a certain forum web site, and i have 150 requests so far, so it would be nice if i had a program that could select from the images at random, to decide who i draw, to keeps things fair. i could add them to a program that selects from a list at random, but it doesn't select from files in a folder at random, so i would have to input every name myself, which would be time-consuming in the long run=)
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #6  
Old 25-11-2007, 11:54 PM
sophus's Avatar
sophus  Brazil
CJ Donator
 
sophus is offline
 
Join Date: Nov 2007
Last Online: 05-09-2008 04:48 PM
Posts: 27
iTrader: (0)
sophus is on a distinguished road
Default Program that selects one file from a folder at random?

well andrew, you could do a very simple thing.
you know how many files are there on your folder, right? then all you gotta do is randomly select a number from 1 to your folder's file number. Try this http://www.random.org/integers/ .
Then, when you get your number, go to your folder, count the rows (for ex, say you get 5 files in a row inside your folder), count the files and then there you are, you have your file.
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #7  
Old 26-11-2007, 12:16 AM
No Avatar
CJ Member
 
andrewanimation is offline
 
Join Date: Sep 2007
Last Online: 26-06-2008 02:20 AM
Posts: 50
iTrader: (0)
andrewanimation is on a distinguished road
Default Program that selects one file from a folder at random?

Originally Posted by sophus View Post
well andrew, you could do a very simple thing.
you know how many files are there on your folder, right? then all you gotta do is randomly select a number from 1 to your folder's file number. Try this http://www.random.org/integers/ .
Then, when you get your number, go to your folder, count the rows (for ex, say you get 5 files in a row inside your folder), count the files and then there you are, you have your file.
allright, thanks, maybe i'll try that then=)
thank you
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote

Please support this forum, donate towards our running costs.


Reply


Thread Tools

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
random jabber Cew27 Off Topic Discussion 29 29-04-2008 10:31 PM
Random Shutdowns tuxedoman7 General Hardware Chat 4 04-01-2008 02:39 AM
Can you change file format to windows media file? confused21 Windows Operating Systems 1 17-11-2007 10:27 AM
Random Question HistoryGirl Community News & Chat 3 28-09-2007 05:50 AM


Copyright ©2006 - 2008 Computer Juice - Forums - Free PC Help, IT Support and Repairs.

Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc.

Page copy protected against web site content infringement by Copyscape