topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Sunday December 15, 2024, 3:58 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: Scud (RandomMediaLauncher) - enjoy your media collection in a fun way!  (Read 41940 times)

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
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! :)

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 (https://www.donation...dex.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 AM by brotherS »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Give this a shot: Scud

2011-12-05_000216.pngDONE: Scud (RandomMediaLauncher) - enjoy your media collection in a fun way!
« Last Edit: December 05, 2011, 12:03 AM by skwire »

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Wow, awesome! Thanks a lot! Works like a charm :Thmbsup:

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
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.ne...ad/96988396bf848a4c/

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

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
And a little bug :)

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.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
- 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.ne...ad/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.

2011-12-05_125749.pngDONE: Scud (RandomMediaLauncher) - enjoy your media collection in a fun way!
« Last Edit: December 05, 2011, 01:17 PM by skwire »

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
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?

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Redownload it and see if this build makes a difference in regards to the icon.

Josh

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Points: 45
  • Posts: 3,411
    • View Profile
    • Donate to Member
WOW! Great tool Skwire!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
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.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Whatever you did, you did it well: the icon looks beautiful now!  :Thmbsup:

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
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

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
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.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
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.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
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.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
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?

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Hmm... please help me to understand.

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

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
Please redownload.  This version should support 120 DPI displays.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Great, looks good now! :)

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.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
And the icon looks fuzzy again.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
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

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
Oooh.... you made them now appear only after Alt is pressed - fancy! :D

Thanks for yet another update, looks great!

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
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.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,287
    • View Profile
    • Donate to Member
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

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
    • View Profile
    • Donate to Member
No problem :) Thanks for the update!