Forum Home Forum Home > Other music related lounges > Tech Talk
  New Posts New Posts RSS Feed - Quickly Gathering Info on New Music
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedQuickly Gathering Info on New Music

 Post Reply Post Reply
Author
Message
wiz_d_kidd View Drop Down
Forum Senior Member
Forum Senior Member
Avatar

Joined: January 13 2018
Location: EllicottCityMD
Status: Offline
Points: 1423
Direct Link To This Post Topic: Quickly Gathering Info on New Music
    Posted: February 14 2018 at 11:08
I'm continually seeking out new prog bands to listen to.  I monitor a number of websites, such as this one, to read reviews and look for new releases.  When I run across a listing that pique's my interest, my first inclination is to search for some music samples, and get more information on the band.  I would search PA, BandCamp, Amazon, SoundCloud, MySpace, and several others.  It gets quite tedious opening new tabs, navigating to the website, finding their search box, and manually entering the search terms -- over, and over, and over.

So I created a script for AutoHotKey to do this for me.  I press "Windows-M", a GUI pops up, I enter the search term once (which I usually just cut & paste from the source), then hit CR.  The script automatically goes to each of the listed websites and does the search and posts the results in your web browser -- one tab for each site.  All I have to do is click on the tab to see what, if anything, was found.



If you're not familiar with AutoHotKey, it is a program which allows you to run scripts in Windows.  The scripts are terminate-and-stay-resident programs that are invoked by pressing some unique keyboard sequence, Windows-M in my case.  AutoHotKey is free, trustworthy, well documented, and well supported.  You can download it here:  https://autohotkey.com/

I can't embed the source code because PA blocks it.  If you are interested, contact me and I will email it to you.  It's just an ASCII text file which you can easily read in NotePad.


Back to Top
The Dark Elf View Drop Down
Forum Senior Member
Forum Senior Member
Avatar
VIP Member

Joined: February 01 2011
Location: Michigan
Status: Offline
Points: 13063
Direct Link To This Post Posted: February 14 2018 at 18:07
Something about downloading dubious programs which allow you to run scripts in windows does not sound very wholesome to me. That PA blocks the source code is reason enough to be concerned.

Sorry, sounds absolutely Bot-ish to me.
...a vigorous circular motion hitherto unknown to the people of this area, but destined
to take the place of the mud shark in your mythology...
Back to Top
Vompatti View Drop Down
Forum Senior Member
Forum Senior Member
Avatar
VIP Member

Joined: October 22 2005
Location: elsewhere
Status: Offline
Points: 67407
Direct Link To This Post Posted: February 14 2018 at 22:41
I'm not that familiar with Windows, but couldn't you make it pick up the search term from the clipboard? That way you could just select whatever bandname you've come across in the browser and hit the keybinding, no need for typing or a separate GUI. And if you ever needed to type it in you could do that in any text editor.
Back to Top
wiz_d_kidd View Drop Down
Forum Senior Member
Forum Senior Member
Avatar

Joined: January 13 2018
Location: EllicottCityMD
Status: Offline
Points: 1423
Direct Link To This Post Posted: February 15 2018 at 07:00
You still have to open a new tab, navigate to a new website, paste the search term into the search box, and click search.  That's 4 operations.  Do that for 8 different websites, it becomes 32 operations.  The script allows me to do it in 3 (invoke gui, paste, click search). What can I say... I'm lazy.
Back to Top
Vompatti View Drop Down
Forum Senior Member
Forum Senior Member
Avatar
VIP Member

Joined: October 22 2005
Location: elsewhere
Status: Offline
Points: 67407
Direct Link To This Post Posted: February 15 2018 at 07:10
I meant in your script, isn't the whole GUI thing just unnecessary extra steps?
Back to Top
wiz_d_kidd View Drop Down
Forum Senior Member
Forum Senior Member
Avatar

Joined: January 13 2018
Location: EllicottCityMD
Status: Offline
Points: 1423
Direct Link To This Post Posted: February 15 2018 at 07:36
The GUI allows me to select which sites to search using checkboxes, provides an input field for the search term, and allows me to save the selections as the default for future searches.  Below is a screen capture.  Assuming I've copied the search term into the clipboard, the search sequence boils down to:  Win-M, Ctrl-V, CR.  Up to 8 sites are searched, and the results displayed in 8 different tabs in the default web browser.

Back to Top
progaardvark View Drop Down
Collaborator
Collaborator
Avatar
Crossover/Symphonic/RPI Teams

Joined: June 14 2007
Location: Sea of Peas
Status: Offline
Points: 51065
Direct Link To This Post Posted: February 15 2018 at 10:30
I tested AutoHotKey maybe five years ago as a possible replacement for a macro creation program called Macro Express at the place I work. We were concerned with some interface challenges of a new version of integrated library system client software we might use, but that change never occurred, so the exploration was dropped (though I still keep this one in the back of my mind). Anyway, I was impressed with its capabilities. I did not know it had GUI capabilities. That's a nice feature.

It's interesting that AutoHotKey's history is sort of a spin-off of AutoIt, which is a scripting language I've been using on and off for years at work (even sometimes at home).
----------
i'm shopping for a new oil-cured sinus bag
that's a happy bag of lettuce
this car smells like cartilage
nothing beats a good video about fractions
Back to Top
wiz_d_kidd View Drop Down
Forum Senior Member
Forum Senior Member
Avatar

Joined: January 13 2018
Location: EllicottCityMD
Status: Offline
Points: 1423
Direct Link To This Post Posted: February 17 2018 at 07:45
I had never heard of AutoIt until you mentioned it.  It looks pretty powerful.  The main difference I see is that all AutoHotKey scripts are invoked with a user-defined keyboard sequence (e.g. ctrl-P, alt-ctrl-X, win-M, etc), whereas AutoIt has more of the standard command-line interface. The two evolved from very different needs -- AutoHotKey for quick keyboard macros, AutoIt for executing installation/configuration scripts that are more powerful than a DOS .BAT file.  Thanks for the heads up!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.168 seconds.
Donate monthly and keep PA fast-loading and ad-free forever.