Recommended Posts

Okay, here is a custom modification by me to add buttons for controlling Winamp from within Opera (Previous, Play, Pause, Stop, Next).

Edited 14 July 2004

-error corrections

-new custom icons (thanks hush66)

Edited 14 November 2004

-added music location menu

Edited 25 April, 2005

-alternate file browsing addition (suggested by nant)

Edited 8 May, 2005

-corrected dialog names for Opera 8

MAKE SURE OPERA IS CLOSED DURING THIS ENTIRE PROCESS

AND BACKUP BEFORE YOU BEGIN THIS, JUST IN CASE

1) First of all, you will need WA Command, a winamp frontend that allows command-line control of Winamp.

2) Find your profile folder either under "c:\program files\Opera8\profile" or under "documents and settings". (I use c:\program files\Opera8 for my current install)

3) Make a subfolder called "Winamp" (without the quotations). Put the contents of WACommand.zip (step 1) into the folder.

4) Rename "WACommand.exe" to "WAC.EXE" (thanks hush66)

5) Now you need to go back to your profiles folder, and in the subfolder "toolbar" open "standard_toolbar (1).ini" (this file should exist if you have rearranged your button layout in Opera. If not, create it.)

6) Under [Customize Toolbar Custom.content], add the following lines:

Button0="Execute program, "c:\progra~1\winamp\winamp.exe", , , "WinLogo" + Show popup menu, "Winamp Menu""
Button1, "Prev"="Execute program, "C:\Program Files\Opera8\profile\Winamp\wac.exe", "/prev", , "WinPrev""
Button2, "Play"="Execute program, "C:\Program Files\Opera8\profile\Winamp\wac.exe", "/play", , "WinPlay""
Button3, "Pause"="Execute program, "C:\Program Files\Opera8\profile\Winamp\wac.exe", "/playpause", , "WinPause""
Button4, "Stop"="Execute program, "C:\Program Files\Opera8\profile\Winamp\wac.exe", "/stop", , "WinStop""
Button5, "Next"="Execute program, "C:\Program Files\Opera8\profile\Winamp\wac.exe", "/next", , "WinNext""

You will need to change the folder name I have used here to reflect where you have installed Opera/where your profile folder is.

If you have other custom buttons installed, you may need to change the numbers for the beginning of each entry.

Save and close.

7) This will be enough for just the buttons to exist, but now we need the custom images for each button.

8) Go to your opera folder, then the subfolder "Skin". You need to extract the contents of "standard_skin.zip" to a subfolder.

9) Make a subfolder under where you extracted the "standard_skin.zip" called "custom", and add into this the contents of the attached Zip file.

10) Open "skin.ini". Under the "[images]" section, add the following lines:

WinPlay ? ? ?= custom/play1.png
WinPause ? ?	= custom/Pause1.png
WinStop ? ? ?= custom/Stop1.png
WinPrev ? ? ?= custom/previous1.png
WinNext ? ? ?= custom/Next1.png
WinPlay.Hover ? ?	= custom/play2.png
WinPause.Hover ? ?	= custom/Pause2.png
WinStop.Hover ? ?	= custom/Stop2.png
WinPrev.Hover ? ?	= custom/previous2.png
WinNext.Hover ? ?	= custom/Next2.png
WinLogo ? ? ?= custom/Logo.png[[b]11)[/b]ve and close.



11) Now this is a little tricky. You need to zip the files you extracted from "standard_skin.zip", and replace the old "standard_skin.zip" with the new archive. You can then delete the files [b]12)[/b]ad extracted.



12) Open up Opera. You will see no changes. You need to right click on your Main Bar and select "Customize toolbars", then go to the "button[b]13)[/b]ds" tab.



13) At the bottom of the list you will see "My Buttons". Click this and you will see all of the buttons that you have just made (if they don't have icons, something has gone wrong). You should be able to drag them to your mainbar in whatever order you like. My personal preference is 

Winamp Logo | Previous | Pla[b]14)[/b]| Stop | Next



14) Not done yet, now we will modify our little Winamp Logo so that it will drop down into a list of folder shortcuts. I find this useful for where I store all my mp3's so it's easier to pull up [b]15)[/b]to listen to.



15) Go to Tools > Preferences > Toolbars. Under menu setup, highlight "opera standard" and click duplicate. Rename this duplicate to whatever you like (I use Winamp controls). Make sure your new setup is highlighted, close prefere[b]16)[/b] close Opera.



16) We need to go back to your profile folder, and go into the &quo[b]17)[/b]t; subfolder.



17) Open the ini file in notepad or similar - Standard_menu [b]IMPORTANT: You now have two choices: 
If you wish to use windows explorer to browse throu[i]18a[/i]sic, follow step 18a. 

However, if you would prefer to use Opera's own file explorer to brow[i]18b[/i]sic, follow step 18b.[/b]foll[b]18a)[/b]18b.



18a) Scroll down to the bottom and look for an entry called "[Voice Menu]". Just before it, enter the following:

[code][Winamp Menu] 
Item, "Music" = "Execute Program, "C:\WINDOWS\EXPLORER.EXE", "C:\Documents and Settings\Moth\My Documents\Music",, "WinKazaa"" 
Item, "KCEasy" = "Execute Program, "C:\WINDOWS\EXPLORER.EXE", "C:\Program Files\KCeasy\My Shared Folder",, "WinKazaa""

You can modify these entries, add new ones, etc. Just use18b) a template.

18b) Scroll down to the bottom and look for an entry called "[Voice Menu]". Just before it, enter the following:

[Winamp Menu]
Item, "Music"="New page,,,,"WinKazaa" & Go to page, "file://localhost/C:\Documents and Settings\Moth\My Documents\Music""
Item, "KCEasy"="New page,,,,"WinKazaa" & Go to page, "file://localhost/c:\Program Files\KCeasy\My Shared Folder""

You can modify these entries, add new ones, etc. Just use19)s a template.

19) Open Opera. And there you go, WinaRemember that you must have winamp open for the previous|play|pause|stop|next buttons to work, or you can open Winamp with the winamp logo to the left of these controls left of these controls

If you are using Mozilla, I recommend the use of the FoxyTunes extension.

Anyway, here are the custom images (thanks to hush66) and a quick screenshot.

custom.zip

Edited by Chode
Link to comment
https://www.neowin.net/forum/topic/189687-opera-8winamp-control/
Share on other sites

WOw.... It's a great add-on :)

What about making smaller icons?

To be honest, I don't know how to decrease the space between each button :blush:

I could make the icons smaller, but I figured that I had plenty of free space on the right there and could use it.

If you desire though, you should be able to resize the png's I included above to whatever size you wish (Currently they are 22x22)

I gave this a try but it doesn't seem to work; clicking on the buttons yields no response whatsoever.

I followed the steps correctly, I think.

For step 5, there wasn't a section named [Customize Toolbar Custom.content] in my standard_toolbar (1).ini file, so I added that section at the end of the file, and then added the code you said to add.

Steps 6 to 13 were done correctly I think, cos I can see my new button images under "Buttons and fields" ->

"My Buttons" option. (See attached image below)

At first, clicking on the buttons brings about an error message "File not found". I then realised that the exe file of the program WACommand was not "wac.exe" (as you have put in your 1st string of codes). Instead, it's "WACommand.exe". So I made the relevant changes.

Now, clicking on the buttons yields no response. No error message, nothing. I suspect it's got to do with your 1st string of codes, but I don't know which parts.

Edit: Okay, I just realized that all the buttons work, except for the one that is suppose to start Winamp (the 1st button in my image). :(

Edit 2: I looked through the help file of WACommand, and found that the command line for starting the Winamp program is "/start" and not "/vol=100" (as stated in your code). However, even after replacing "/vol=100" with "/start", it still does not work. Anyway I can just link it directly to my Winamp.exe file, and not through WACommand?

post-45-1089732888.jpg

Edited by hush66
Edit: Okay, I just realized that all the buttons work, except for the one that is suppose to start Winamp (the 1st button in my image). :(

Edit 2: I looked through the help file of WACommand, and found that the command line for starting the Winamp program is "/start" and not "/vol=100" (as stated in your code). However, even after replacing "/vol=100" with "/start", it still does not work. Anyway I can just link it directly to my Winamp.exe file, and not through WACommand?

Whoops. I renamed WACommand.exe myself to make it more manageable when I was editing the .ini thanks for pointing that out.

That first button I never intended to open winamp, I just wanted the logo there and couldn't find a NULL command in Opera so I just made the button set volume to 100, though your idea is better. Give me about 10 minutes and I'll try to set some code up to load winamp.

Okay, I linked the winamp icon directly to winamp.exe....and have encountered a side effect that I quite like. It will maximise a minimised winamp :)

Anyway, the code for this is:

[Customize Toolbar Custom.content]
Button0, Play="Execute program, "c:\progra~1\opera75\profile\winamp\wac.exe", "/play",, "WinPlay"""
Button1, Pause="Execute program, "c:\progra~1\opera75\profile\winamp\wac.exe", "/playpause",, "WinPause""
Button2, Stop="Execute program, "c:\progra~1\opera75\profile\winamp\wac.exe", "/stop",, "WinStop""
Button3, Prev="Execute program, "c:\progra~1\opera75\profile\winamp\wac.exe", "/prev",, "WinPrev""
Button4, Next="Execute program, "c:\progra~1\opera75\profile\winamp\wac.exe", "/next",, "WinNext""
Button5,="Execute program, "c:\progra~1\winamp\winamp.exe",,, "WinLogo""

you may wish to change wac.exe to WACommand.exe, or just use this code and rename WACommand like I did;)

Before this code will work, you will have to remove your existing buttons from the mainbar and re-add them. Opera remembers the settings for the old button if you don't do this.

By the way, I love your icons. Can you please post them here? They better suit the sexy blue visual style I'm trying to keep consistent on this computer :)

The question is, why would you want to control winamp from your browser???

I like having handy access to my winamp controls, whilst keeping maximum screen real-estate. Attached is how I used to control my winamp, a way which I was desperate to find an alternative for. Look at the top of the screen, in the title bar:

Edited by Chode
  • 3 months later...
  • 2 months later...

Just thought I'll let you guys know that this also works with Opera 8 beta 1. :D

Some suggestions for this I've been thinking about...

* Would it be possible to make it so whenever I hover the Winamp logo icon, it'll display a tooltip and that tooltip will be the currently played song? That would be awsome.

* Instead of opening Explorer.exe to browse through my various music files, is it possible to use Opera to browse my files and execute them through the 'plug-in'?

post-1704-1107678134_thumb.jpg

Edited by nant
* Would it be possible to make it so whenever I hover the Winamp logo icon, it'll display a tooltip and that tooltip will be the currently played song? That would be awsome.

Not that I know of, unfortunately :(

Foxytunes for Firefox still owns this, and probably always will (unless someone codes something really good).

* Instead of opening Explorer.exe to browse through my various music files, is it possible to use Opera to browse my files and execute them through the 'plug-in'?

Hmmm, interesting idea. Give me a week or two to experiment with this....

  • 2 months later...

It seems that a couple of weeks turned into a couple of months...I was busy for a while there.

But once again I have updated this mod, after experimenting with nant's suggestion.

I'm not sure if I like using Opera as the file browser for my music, but I'll try it for a while (I've left the guide open so that you can choose which one you would prefer to do).

A lot of things have changed though. I no longer use a mainbar in Opera, and have moved my Winamp Controls down to the far right of the page bar.

  • 2 weeks later...

Hmm, wonder if you could help me Chode, I've got the winamp control working, but cant get the file browsing working...

There are no files under the Menu subfolder in my profile folder so I created Standard_menu (1).ini and entered in the code you said should go in, modifying it to have my directory where my music is, but it just doesnt work.

BTW im using Opera 8.01 preview 1... i.e. the latest...

Any help appreciated :)

Hmm, wonder if you could help me Chode, I've got the winamp control working, but cant get the file browsing working...

There are no files under the Menu subfolder in my profile folder so I created Standard_menu (1).ini and entered in the code you said should go in, modifying it to have my directory where my music is, but it just doesnt work.

BTW im using Opera 8.01 preview 1... i.e. the latest...

Any help appreciated :)

585887096[/snapback]

sounds to me like you accidently missed step 15

15) Go to Tools > Preferences > Toolbars and Menus. Under menu setup, highlight "opera standard" and click duplicate. Rename this duplicate to whatever you like (I use Winamp controls). Make sure your new setup is highlighted, close preferences, then close Opera.

Make sure that under Opera's preferences, you have selected your modified menu as well. By default it will stay on Opera's default.

If this doesn't help, what exactly is happening? Is there a submenu appearing at all? Or is it that clicking on menu options is producing an error?

Edited by Chode
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I disagree here sorry. The majority of their customers are corporations who are locked in to their eco system and have no choice. Private individuals don't contribute that much to their income.
    • Weekend PC Game Deals: Anno 117, Final Fantasy VII, Rematch, and more by Pulasthi Ariyasinghe Weekend PC Game Deals is where the hottest gaming deals from all over the internet are gathered into one place every week for your consumption. So kick back, relax, and hold on to your wallets. The Epic Games Store's mystery giveaways may have ended, but its regular freebies didn't miss a step this week. The double drop was for copies of Warhammer 40K Speed Freeks and The Ouroboros King. Speed Freeks lands for multiplayer racing fans, but with plenty of competitive shooting elements too. You will be piloting Ork buggies, tanks, and aircraft modeled after the popular tabletop miniatures while trying to complete objectives and pass finish lines. Next, Ouroboros King is a crossover between chess and tactical roguelikes, offering the chance to create your own army with special rules to beat incoming foes on the board. The double giveaway on the Epic Games Store will be available until June 11, and replacing it will be Citizen Sleeper and ROBOBEAT. The Humble Store brought a new charity bundle to check out this week too. Landing with the name The Complete Inkle Library, this is a large collection of interactive narrative puzzle games from the publisher Inkle. This begins with Heaven's Vault, four parts from the Sorcery series, 80 Days, Overboard, and Pendragon: Narrative Tactics within the starting tier for $9. Hopping up a step to the $12 tier gets you TR-49, Expelled, and A Highland Song for paying at least $12. If you go for the $20 tier, you get four e-books from the Heaven's Vault series. The bundle has almost three weeks on its counter before it goes away. Big Deals There is a larger than normal amount of weekend specials happening this time, including multiple publisher deals, franchise discounts, and indie gems to grab. With those and more, here's our hand-picked big deals list for the weekend: Anno 117: Pax Romana – $44.99 on Steam Clair Obscur: Expedition 33 – $39.99 on Steam Timberborn – $27.99 on Steam EARTH DEFENSE FORCE 6 – $26.39 on Steam Rust – $19.99 on Steam FINAL FANTASY VII REBIRTH – $19.99 on Steam Street Fighter 6 – $19.99 on Steam Returnal – $19.79 on Steam Shape of Dreams – $17.49 on Steam Far Cry 6 – $14.99 on Steam Assassin's Creed Valhalla – $14.99 on Steam Quarantine Zone: The Last Check – $14.99 on Steam REMATCH – $14.99 on Steam EA SPORTS FC 26 – $13.99 on Steam FINAL FANTASY VII REMAKE INTERGRADE – $13.99 on Steam Magicraft – $12.79 on Steam Cult of the Lamb – $12.49 on Steam Dying Light 2: Reloaded Edition – $11.99 on Steam Cuphead – $11.99 on Steam Assassin's Creed Odyssey – $11.99 on Steam Hunt: Showdown 1896 – $11.99 on Steam Sektori – $11.99 on Steam Just Shapes & Beats – $11.99 on Steam Gunfire Reborn – $10.99 on Steam 33 Immortals – $9.99 on Epic Store Baby Steps – $9.99 on Steam Sifu – $9.99 on Steam Hearts of Iron IV – $9.99 on Steam DREDGE – $9.99 on Steam DAVE THE DIVER – $9.99 on Steam Pacific Drive – $9.89 on Steam Mycopunk – $9.74 on Steam Sons Of The Forest – $8.99 on Steam Jotunnslayer: Hordes of Hel – $8.99 on Steam Nuclear Throne – $8.99 on Steam Mechabellum – $8.99 on Steam Deep Rock Galactic: Survivor – $8.44 on Steam TerraTech Legion – $7.99 on Steam Inscryption – $7.99 on Steam Assassin's Creed Unity – $7.49 on Steam Minishoot' Adventures – $7.49 on Steam The Stanley Parable – $7.49 on Steam Oxygen Not Included – $7.49 on Steam Megabonk – $6.99 on Steam Look Outside – $5.99 on Steam Vampire Hunters – $5.24 on Steam MOTHERGUNSHIP – $4.99 on Steam My Friend Pedro – $3.99 on Steam The Messenger – $3.99 on Steam Vampire Survivors – $3.74 on Steam Brotato – $2.99 on Steam Enter the Gungeon – $2.99 on Steam Loop Hero – $2.99 on Steam GRIS – $2.99 on Steam Exit the Gungeon – $2.49 on Steam Hitman: Absolution – $1.99 on Steam CARRION – $1.99 on Steam Don't Starve Together – $1.49 on Steam Golf With Your Friends – $1.49 on Steam Hotline Miami – $0.99 on Steam The Ouroboros King – $0 on Epic Store Warhammer 40K Speed Freeks – $0 on Epic Store DRM-free Specials Hopping over to the DRM-free deals, the GOG store has plenty of discounts running this weekend too. Here are some highlights: Fallout 4: Game of the Year Edition - $15.99 on GOG Fallout: New Vegas Ultimate Edition - $9.99 on GOG Disco Elysium - The Final Cut - $9.99 on GOG Crysis - $9.99 on GOG Tyranny - Standard Edition - $7.49 on GOG Frostpunk: Game of the Year Edition - $7.35 on GOG Banished - $6.79 on GOG Fallout 3: Game of the Year Edition - $6.59 on GOG The Forgotten City - $6.25 on GOG The Age of Decadence - $5.99 on GOG SimCity 3000 Unlimited - $4.99 on GOG Assassin's Creed: Director's Cut - $4.99 on GOG SimCity 4 Deluxe Edition - $3.99 on GOG Vampyr - $3.99 on GOG Torchlight II - $3.99 on GOG Deus Ex GOTY Edition - $3.49 on GOG Primordia - $3.09 on GOG Theme Hospital - $2.99 on GOG SimCity 2000 Special Edition - $2.99 on GOG Total Annihilation: Kingdoms + Iron Plague - $2.99 on GOG Deus Ex: Human Revolution - Director’s Cut - $2.99 on GOG Master of Orion 1+2 - $2.39 on GOG Prince of Persia: The Sands of Time - $1.99 on GOG Prince of Persia: Warrior Within - $1.99 on GOG EVERSPACE - $1.99 on GOG Total Annihilation: Commander Pack - $0.99 on GOG Keep in mind that availability and pricing for some deals could vary depending on the region. That's it for our pick of this weekend's PC game deals, and hopefully, some of you have enough self-restraint not to keep adding to your ever-growing backlogs. As always, there are an enormous number of other deals ready and waiting all over the interwebs, as well as on services you may already subscribe to if you comb through them, so keep your eyes open for those, and have a great weekend.
    • When will the Photos app be updated to remember the window size and position when reopened? They addressed this issue in a 2024 version of the app (though I can't recall the build number). Unfortunately, after that specific version, the problem persists! Please prioritise this fix in your K2 schedule. Additionally, the Snipping Tool has lost the ability to capture the Windows Taskbar starting from the 2024 version!
    • Same, never saw it on Android or iOS. Guess only some people got it *shrugs*
  • Recent Achievements

    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
    • Dedicated
      jordanspringer earned a badge
      Dedicated
    • Rookie
      Rimplesnort went up a rank
      Rookie
    • One Year In
      Markus94287 earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      486
    2. 2
      +Edouard
      173
    3. 3
      PsYcHoKiLLa
      139
    4. 4
      ATLien_0
      94
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!