![]() |
|
|
#1 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,574 (6.29/day)
Thanks: 1,752
Thanked 2,596 Times in 1,960 Posts
|
Pick Random Line
Takes input either from a file (drag and drop on the executable supported) or from typing with one "item" per line. Click on "Pick One" and it will select a random line and place it in the result textbox where it can be copied/manipulated. This is great for having a computer make up your mind when you can't.
Requires .NET Framework 4.0 (Client Profile). ![]() Weighted Lines
Version history: -1.2.0: Fixed bug where last line wouldn't be picked if not using weights. Added drag and drop for files on the file name box and text on the main text box. -1.1.0: Added the ability to weight lines. See the above "spoiler" for details. -1.0.0: First release.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } Last edited by FordGT90Concept; Aug 22, 2012 at 07:59 PM. |
|
|
|
|
|
#2 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,574 (6.29/day)
Thanks: 1,752
Thanked 2,596 Times in 1,960 Posts
|
Uploaded 1.1.0. It nows supports weighting lines. Details of how to use that feature are in the "Weighted Lines" spoiler. If you don't use that feature, it is functionally identical to 1.0.0.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
|
|
#3 |
|
Banstick Dummy
Join Date: Jun 2007
Location: Crystal River, FL
Posts: 15,109 (6.93/day)
Thanks: 1,337
Thanked 6,829 Times in 3,739 Posts
|
Just get married. You will never have to make up your mind again. She will do it for you and you don't even need to install .NET Framework 4.0
|
|
|
|
| The Following 5 Users Say Thank You to TheMailMan78 For This Useful Post: |
|
|
#4 |
![]() Join Date: Jan 2011
Location: WPB, FL
Posts: 3,328 (3.85/day)
Thanks: 2,078
Thanked 2,510 Times in 1,274 Posts
|
So Ford this would be good for picking a winner for the next game giveaway? I'm all for it if so!
|
|
|
|
|
|
#5 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,574 (6.29/day)
Thanks: 1,752
Thanked 2,596 Times in 1,960 Posts
|
Yeah, that's what it was originally created for. The weighting was added to make it easier to decide what game to play (lower weights for games we've already beat/started).
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
| The Following User Says Thank You to FordGT90Concept For This Useful Post: |
|
|
#6 |
![]() Join Date: Jan 2011
Location: WPB, FL
Posts: 3,328 (3.85/day)
Thanks: 2,078
Thanked 2,510 Times in 1,274 Posts
|
Very cool, I'll try it out this weekend! Thanks
|
|
|
|
|
|
#7 |
![]() Join Date: Jan 2011
Location: WPB, FL
Posts: 3,328 (3.85/day)
Thanks: 2,078
Thanked 2,510 Times in 1,274 Posts
|
Hey Ford, beer me a minute of your time (haha, Office reference). Can you look to see if you get the same thing that i'm getting... If i input say 10 numbers/names, it seems to never choose the last one. I tried with 4, 10, and 11 entries. These are just normal, nonweighted entries. Maybe it's user error, but i'd appreciate the insight.
|
|
|
|
| The Following 2 Users Say Thank You to manofthem For This Useful Post: |
|
|
#8 |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,574 (6.29/day)
Thanks: 1,752
Thanked 2,596 Times in 1,960 Posts
|
You're right. I'm sure I checked for that but must have some how broke it. I'll see about fixing it.
Also, I wanted to add drag n drop support so I might as well do that too while I'm at it.
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
| The Following User Says Thank You to FordGT90Concept For This Useful Post: |
|
|
#9 | |
![]() Join Date: Jan 2011
Location: WPB, FL
Posts: 3,328 (3.85/day)
Thanks: 2,078
Thanked 2,510 Times in 1,274 Posts
|
Quote:
With the other issue, the temporary workaround is to just add another line, anything I suppose, and it'll suite me just fine. Thanks for looking into, and thanks for the great utility, really good for giveaways lol!
|
|
|
|
|
|
|
#10 |
![]() Join Date: Aug 2007
Location: Geneva, FL, USA
Posts: 3,010 (1.43/day)
Thanks: 567
Thanked 606 Times in 487 Posts
|
Bug confirmed.
It just won't pick that last line
|
|
|
|
| The Following User Says Thank You to Jizzler For This Useful Post: |
|
|
#11 |
|
Overclocked quantum bit
Join Date: Dec 2007
Location: Quantumville UK
Posts: 8,648 (4.34/day)
Thanks: 4,178
Thanked 3,303 Times in 1,943 Posts
|
Typical little utility to write for when you have too much time on your hands. I like it.
![]() @mailman: it sounds like you need to move on to Wife 2.0.
__________________
Siggie in the post. |
|
|
|
|
|
#12 | |
![]() Join Date: Jan 2011
Location: WPB, FL
Posts: 3,328 (3.85/day)
Thanks: 2,078
Thanked 2,510 Times in 1,274 Posts
|
Quote:
jk
|
|
|
|
|
|
|
#13 | |
|
"I go fast!1!11!1!"
Join Date: Oct 2008
Location: IA, USA
Posts: 10,574 (6.29/day)
Thanks: 1,752
Thanked 2,596 Times in 1,960 Posts
|
1.2 uploaded which fixes that bug and adds drag and drop support.
Edit: Also fixed the bug where it would show an empty line in the result box. Quote:
__________________
Golden Rule of Programming: Never assume. try { SteamDownload(); } catch (Steamception ex) { RageQuit(); } |
|
|
|
|
|
|
#14 | |
![]() Join Date: Jan 2011
Location: WPB, FL
Posts: 3,328 (3.85/day)
Thanks: 2,078
Thanked 2,510 Times in 1,274 Posts
|
Quote:
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help me pick!!! | ebolamonkey3 | Motherboards & Memory | 8 | Jul 28, 2010 01:59 PM |
| Motherboard pick | SK-1 | Motherboards & Memory | 41 | Jul 22, 2008 04:48 PM |
| Help me pick a mobo... | jpierce55 | Motherboards & Memory | 0 | Apr 8, 2007 05:41 PM |
| 7900 gt random freeze and random crash | psychomage343 | Graphics Cards | 0 | Apr 7, 2007 11:55 PM |