Skip to content
Menu
The Lonely Administrator
  • PowerShell Tips & Tricks
  • Books & Training
  • Essential PowerShell Learning Resources
  • Privacy Policy
  • About Me
The Lonely Administrator

iTunes Lyrics Viewer HTA

Posted on February 20, 2007July 2, 2013

I've been toying around with the iTunes COM object (iTunes.Application) which gives you some pretty handy control over the iTunes application. I was particularly interested in having something display song lyrics so I developed an HTA that displays album art, artist and song information and lyrics. The tool will refresh whenever a new song is played. If no lyrics are available a link will be provided that might help you find lyrics to LyricWiki.org. The link will open in an external browser window and is a "best guess" based on iTunes song information. If the song does not show up, you can probably still search the site for lyrics. This version does not update lyrics. You'll have to do that manually.

Manage and Report Active Directory, Exchange and Microsoft 365 with
ManageEngine ADManager Plus - Download Free Trial

Exclusive offer on ADManager Plus for US and UK regions. Claim now!

If you attempt to close iTunes and get a message about another application using iTunes, close the HTA first. If iTunes is not running, when you launch the HTA it will also launch iTunes.

The HTA is not intended as an iTunes replacement, although you could certainly extend the functionality. At some point, I might add better code to find lyrics and even update the song in iTunes. If someone else comes up with code like that, I hope they'll share.

You can download the zip file with the HTA at http://www.jdhitsolutions.com/scripts.

Technorati tags: iTunes, HTA, VBScript, COM, Lyrics


Behind the PowerShell Pipeline

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to print (Opens in new window) Print
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...

Related

10 thoughts on “iTunes Lyrics Viewer HTA”

  1. Jeffery Hicks MCSE, MCSA, MCT says:
    February 20, 2007 at 11:38 am

    If you would like to discuss this tool, please visit the forums at http://www.scriptinganswers.com. There is a dedicated forum for HTAs as well as other scripting related topics.

  2. Jeffery Hicks MCSE, MCSA, MCT says:
    February 20, 2007 at 11:59 am

    Alright, I’ve already needed to make a correction. The latest version, 1.1 handles missing art work and displays the included icon as the art work.

  3. rvannman says:
    June 24, 2007 at 9:02 pm

    I have modified the code to automatically grab the lyrics from lyricwiki.com and, if you choose to allow it, update the lyric for the current song in iTunes. I’ve also added a “batch” mode which automatically moves to the next song after each update so that it can quickly move through an entire playlist without intervention or having to play the entire song. If you want a copy of the code, email me at:

    rvannatta AT cfl DOT rr DOT com

  4. Jeffery Hicks says:
    June 25, 2007 at 8:35 am

    Updating lyrics was next on my to do list for this thing so I’m glad you did it. I came across lyricwiki a while ago, but after I wrote the viewer and was thinking of switching sources.

    Granted, a tool like this isn’t going to make servers or networks run better, but it can improve the quality of your workday and the coding practice always helps.

  5. Thomas says:
    May 27, 2008 at 8:00 am

    Hello Jeffery

    a wonderful script. I like it. Do you know where i can get the updatet script from rvannman

    Greetings from germany
    Thomas

  6. Jeffery Hicks says:
    May 27, 2008 at 8:28 am

    Thomas, you could try contacting him directly: rvannatta AT cfl DOT rr DOT com

    I also have an updated version to post when I get a chance.

  7. Thomas says:
    June 16, 2008 at 7:46 am

    Hello Jefffery,

    rvanmann is not answering. So could you please post your updated script?

    Greetings Thomas

  8. ng2000 says:
    September 19, 2008 at 11:55 pm

    Valuable resource of lyrics news summaries: http://ng2000.com/ng2000bb/YaBB.pl?num=1221882147

  9. Tuske says:
    November 13, 2008 at 6:07 am

    Hello Jeffery,

    please post your updated script. I was unable to find a discussion at scriptinganswers.

    Greetings Thomas

  10. Tuske says:
    November 19, 2008 at 10:15 am

    Hello Jeffery,

    Could you please post your updated script? Thanks

    Greetings Thomas

Comments are closed.

reports

Powered by Buttondown.

Join me on Mastodon

The PowerShell Practice Primer
Learn PowerShell in a Month of Lunches Fourth edition


Get More PowerShell Books

Other Online Content

github



PluralSightAuthor

Active Directory ADSI Automation Backup Books CIM CLI conferences console Friday Fun FridayFun Function functions Get-WMIObject GitHub hashtable HTML Hyper-V Iron Scripter ISE Measure-Object module modules MrRoboto new-object objects Out-Gridview Pipeline PowerShell PowerShell ISE Profile prompt Registry Regular Expressions remoting SAPIEN ScriptBlock Scripting Techmentor Training VBScript WMI WPF Write-Host xml

©2025 The Lonely Administrator | Powered by SuperbThemes!
%d