Changing Window Class from "MozillaUIWindowClass"
Is there any way i could change the Songbird main window class from "MozillaUIWindowClass" to something else via an add-on? or any other (possibly unconventional) methods?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?Sorry, I don't know answer.
But do you want to get the Songbird Handle? Maybe you can search for the window-title, then?
instead handle = FindWindow("MozillaUIWindowClass", NULL); use handle = FindWindow(NULL, "Songbird"); ?
But if you post your question in the developers groups or in the Songbird IRC, you probably get a more sophisticated answer... -
Inappropriate?Thats not the use sorry. I need it changed because it is the same as Firefox, and the extension 'FoxyTunes' for firefox uses a Windows Class Name to find the title of the song. However it gets Firefox's title if it has focus because of the identical class name. Thats why i need to either change the Class Name of Firefox or Songbird.
I’m frustrated
-
Ah, I see... sorry, can't help you there...
If no one else has a better idea, you could also ask the FoxyTunes-Developer, if he could somehow make the extension work together with Songbird. -
You already got an answer in the developers group: no, not possible. (Of course you could change songbirds source-files and try to create a custom build, but I doubt that would be reasonable.)
Maybe if you explain the reason for the request in the Songbird Developers group, somebody can find another solution for your problem?
But as I said: I think you best changes are to get the FoxyTunes developers to officially support songbird.
Edit: Someone here f.e. claims to have another solution, but I don't know if it's working. (Google translate is your friend ;) -
Inappropriate?Thanks for the link to the article, however it still does not work. It is for a much older version of both songbird and foxytunes.
-
Inappropriate?Hey Anthony, I just downloaded FoxyTunes myself to give it a try.
1.) Foxytunes also can search by Window-Title, not only by classname. So changing the Classname of Songbird shouldn't be important.
2.) I got it to work very fine, with the 2 year old instruction I posted above. I have this setup:
* XP SP3
* FoxyTunes 3.5.4.1 on Firefox 3.5b4
* Songbird 1.1.2
FoxyTunes Settings:

The player controls & volume control are working just fine. Only the song-title is not being displayed, but that can definitely not be done without native Songbird integration in Foxytunes.
I hope this helps.
PS: If it doesn't work for you, what's your window-title of Songbird? Did you customize it somehow? -
Inappropriate?"Only the song-title is not being displayed" that's exactly what im trying to do. The buttons all work fine, if you want the buttons to work you don't even need the -c "songbird" ("songbird" isn't even the title of songbird, it's "Songbird Web Player") you just need the -m 2. If you want the title to display you need the class name. This is why i said i need to change the class name because it is the same as firefox and im getting firefox's title as my song title.
I’m annoyed at the above poster for thinking he's right when he's not
-
Sorry for trying to help you. Won't happen again ;-)
Loading Profile...





CHAMP