Welcome Guest.   Make a donation to an author on the site July 30, 2014, 10:17:06 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.
 
Free DonationCoder.com Member Kit: Submit Request.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1] 2 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: DONE: Scud (RandomMediaLauncher) - enjoy your media collection in a fun way!  (Read 6988 times)
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« on: December 04, 2011, 07:06:21 AM »

Hi!

Wouldn't it be fun if you had a little launcher tool that would ask you for a path (and you could either click through to a folder or just paste a path into the window) and it would search for all media matching the given extension(s) and then randomly launch one (with the media player association you set in Windows)? I'd love it! smiley

Optional extras:
- put the full path of the file launched into the Windows clipboard
- a customizable list of file types to pick from, somewhat like in Locate (http://www.donationcoder....um/index.php?topic=1385.0) so you don't have to enter all the different video or sound file types manually

« Last Edit: December 05, 2011, 02:11:07 AM by brotherS » Logged

Thank you.
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: December 04, 2011, 06:11:50 PM »

Give this a shot: Scud

« Last Edit: December 05, 2011, 12:03:25 AM by skwire » Logged

brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #2 on: December 05, 2011, 02:11:56 AM »

Wow, awesome! Thanks a lot! Works like a charm Thmbsup
Logged

Thank you.
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #3 on: December 05, 2011, 05:14:56 AM »

More ideas:

- an option below the folder field to specify "must match", results would be limited to matching a pattern you enter here, e.g. "vacation" would only launch files with that search string in the path (maybe an additional option to choose if it must be in the file name or/and in the directory part of the path)

- how about an icon for Scud? The forum didn't allow to attach it, so here it is: http://www.zshare.net/download/96988396bf848a4c/

- how about an option/button for a random image?
« Last Edit: December 05, 2011, 08:28:15 AM by brotherS » Logged

Thank you.
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #4 on: December 05, 2011, 05:21:59 AM »

And a little bug smiley

I got an "error launching file" - I can start it OK from Locate, so not sure why... the only 'special' thing is that the path contains a "#" character, does AHK maybe have a problem with that?

Edit: Hmm... another error message, but this time no "#" character in the path.
Logged

Thank you.
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: December 05, 2011, 01:01:28 PM »

- an option below the folder field to specify "must match", results would be limited to matching a pattern you enter here, e.g. "vacation" would only launch files with that search string in the path

Done.

(maybe an additional option to choose if it must be in the file name or/and in the directory part of the path)

Done.

- how about an icon for Scud? The forum didn't allow to attach it, so here it is: http://www.zshare.net/download/96988396bf848a4c/

Done.

- how about an option/button for a random image?

Done.

I got an "error launching file" - I can start it OK from Locate, so not sure why... the only 'special' thing is that the path contains a "#" character, does AHK maybe have a problem with that?

Fixed.

New version: Scud download

Also, click the Help button to learn how to add entries to the folder and filter dropdowns.

« Last Edit: December 05, 2011, 01:17:05 PM by skwire » Logged

brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #6 on: December 05, 2011, 03:39:53 PM »

Thanks a lot! Great idea with the help button/functions behind it.

For some reason the icon looks a little bit fuzzy here on the taskbar (Win7), should I create another icon?
Logged

Thank you.
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #7 on: December 05, 2011, 05:29:14 PM »

Redownload it and see if this build makes a difference in regards to the icon.
Logged

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



View Profile Give some DonationCredits to this forum member
« Reply #8 on: December 05, 2011, 05:59:35 PM »

WOW! Great tool Skwire!
Logged

Strength in Knowledge
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #9 on: December 05, 2011, 11:01:38 PM »

Great idea with the help button/functions behind it.

Thanks, even though I was lazy and didn't implement auto-saving of entered paths.

WOW! Great tool Skwire!

Thanks, glad you find it useful.
Logged

brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #10 on: December 06, 2011, 02:17:22 AM »

Whatever you did, you did it well: the icon looks beautiful now!  Thmbsup
Logged

Thank you.
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #11 on: December 06, 2011, 03:18:31 AM »

More ideas:

- make Alt+f work as a shortcut to activate the Folder selection

- Alt+r --> Filter selection

- Alt+n --> Name

- Alt+p --> Path

- Alt+e --> Either
Logged

Thank you.
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #12 on: December 06, 2011, 07:44:01 AM »

More ideas:
- make Alt+f work as a shortcut to activate the Folder selection
- Alt+r --> Filter selection
- Alt+n --> Name
- Alt+p --> Path
- Alt+e --> Either

Done.  I also added Alt+C to toggle the clipboard option.  Please redownload.
Logged

brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #13 on: December 06, 2011, 09:10:17 AM »

Great! Could you please use the font and font size you use for the Trout menus? It's better to read than the current one used in Scud now.
Logged

Thank you.
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #14 on: December 06, 2011, 09:15:27 AM »

Great! Could you please use the font and font size you use for the Trout menus? It's better to read than the current one used in Scud now.

The only thing I do in my apps is put in code to ignore large-font DPI settings for GUI elements.  They're such a pain in the arse to code for, test, and support (just ask mouser).  In other words, I don't specifically change to a different font, I just restrict its size.
Logged

brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #15 on: December 06, 2011, 09:20:29 AM »

Great! Could you please use the font and font size you use for the Trout menus? It's better to read than the current one used in Scud now.

The only thing I do in my apps is put in code to ignore large-font DPI settings for GUI elements.  They're such a pain in the arse to code for, test, and support (just ask mouser).  In other words, I don't specifically change to a different font, I just restrict its size.

Hmm... please help me to understand. Yes, I have set Windows to larger than default with the fonts/DPI (whatever it's called), but how come then I can read the Trout menus comfortably while the Scud font size (which is smaller in comparison) is a bit eye-straining to read?
Logged

Thank you.
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #16 on: December 06, 2011, 09:22:11 AM »

Hmm... please help me to understand.

My code doesn't affect menus, only GUI controls on the form itself.
Logged

skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #17 on: December 06, 2011, 09:46:14 AM »

Please redownload.  This version should support 120 DPI displays.
Logged

brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #18 on: December 06, 2011, 11:48:38 AM »

Great, looks good now! smiley

More ideas:
- make Alt+f work as a shortcut to activate the Folder selection
- Alt+r --> Filter selection
- Alt+n --> Name
- Alt+p --> Path
- Alt+e --> Either

Done.  I also added Alt+C to toggle the clipboard option.  Please redownload.

I just noticed that all those six additions have no underlined 'trigger letter'. Pressing the listed button together with Alt works just fine, but the UI doesn't hint which letter to press.
Logged

Thank you.
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #19 on: December 06, 2011, 01:16:43 PM »

And the icon looks fuzzy again.
Logged

Thank you.
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #20 on: December 06, 2011, 02:46:31 PM »

I just noticed that all those six additions have no underlined 'trigger letter'. Pressing the listed button together with Alt works just fine, but the UI doesn't hint which letter to press.

Those aren't automatically added to a Windows form but I added them in the latest build.  Also, please let me know if the icon is fixed (again).  Download
Logged

brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #21 on: December 07, 2011, 05:17:08 AM »

Oooh.... you made them now appear only after Alt is pressed - fancy! cheesy

Thanks for yet another update, looks great!
Logged

Thank you.
brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #22 on: December 08, 2011, 09:56:45 AM »

Two minor bugs:

When you enter a folder with a "\" at the end of the path in the Folder input box, Scud works correctly, but pastes a path with two "\" ("\\") to the clipboard, which of course then doesn't work if you try to access it in Windows Explorer.

When you accidently remove the entry in the Folder input box, Scud still is able to randomly launch a file, but pastes an incomplete path to the clipboard.
Logged

Thank you.
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #23 on: December 12, 2011, 01:26:11 AM »

Two minor bugs:

When you enter a folder with a "\" at the end of the path in the Folder input box, Scud works correctly, but pastes a path with two "\" ("\\") to the clipboard, which of course then doesn't work if you try to access it in Windows Explorer.

When you accidently remove the entry in the Folder input box, Scud still is able to randomly launch a file, but pastes an incomplete path to the clipboard.

Apologies for the delay.  Both bugs should be fixed in this version.  Thanks for the report.  Download
Logged

brotherS
Master of Good Ideas
Honorary Member
**
Posts: 2,105


To make a difference, be different.

View Profile Give some DonationCredits to this forum member
« Reply #24 on: December 12, 2011, 02:00:58 AM »

No problem smiley Thanks for the update!
Logged

Thank you.
Pages: [1] 2 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.044s | Server load: 0.17 ]