2 Oct '14 - 11:24 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: COM Support?  (Read 9894 times)
ec8or
Guest
« on: 25 Sep '06 - 17:11 »
Reply with quoteQuote

I am controlling XMPlay through customized buttons in bblean and would like to be able to grab the Song Title and display it on my desktop, when asking about it in the blackbox forum i got the following reply:

Quote
If XMPlay has some type of COM control you can grab the display rather easily. If not you'll probably have to capture it much in the way bb plugins do with the winamp window. Using dll.dll to do the actual work in tcl. Use tcom in tcl if XMPlay has COM support.

Check with the program if it does support com and I can throw together a quick title display with tcl.

Anyone knows what is the case?

Also i had a look through the list of DDE functions XMPlay uses and there doesn't seem to be any for  shutting down the player. If there is and anyone knows the id for this please let me know.

Peace
Logged
Jace
Posts: 807


« Reply #1 on: 26 Sep '06 - 05:33 »
Reply with quoteQuote

Not certain how it would work on BB, never tried it myself but I'm having no hassles with LiteStep here.
Easiest way is to grab the window title of XMP and show it there.. As here with xLabel:
*Label Xmplay
    XmplayWidth 308
    XmplayHeight 16
    XmplayX 32
    XmplayY -63
    XmplayImage xmp_back.png

    XmplayFontHeight 18
    XmplayFontColor 000000
    XmplayText "[if(empty(windowTitle('XMPLAY-MAIN')))]Something funny, don't know what.[else][windowTitle('XMPLAY-MAIN')][endIf]"
    XmplayTextFade 16 0

    XmplayScroll
    XmplayScrollInterval 15
    XmplayScrollSpeed 1
    XmplayScrollPad 60
    XmplayUpdateInterval 500


Bottom left corner of the screen, to see it in live action!

Doesn't give you any controls for it, but it's better than nothing, at least IMO. Wink
And as far as I know, the DDE command list at the support site is a complete one. I suppose Ian might add one for shutdown if you ask nicely enough. Grin
Logged
Ian @ un4seen
Administrator
Posts: 16942


« Reply #2 on: 26 Sep '06 - 15:20 »
Reply with quoteQuote

And as far as I know, the DDE command list at the support site is a complete one. I suppose Ian might add one for shutdown if you ask nicely enough. Grin

There have actually been a few new shortcuts introduced since that list was posted, including these 2 Smiley

10 = Close
11 = Close with position saved

Other additions are...

12 = Open directory
88 = Current track - Tray title bubble
89 = Current track - Plugin info
96 = Plugin & Skins
296 = Toggle MOD playback mode
325 = List sort - Selected to top
343 = List nav - Select dead
378 = List - Save
379 = List - Show queue in list
380 = List - Auto advance
384 = List track - Add to/from library
385 = List track - Plugin info
400 = List - Undo
608 = Info - Library   (replaced "Recent tracks list")
624 = Device options
640 = Bookmark - Set
641 = Bookmark - Resume
Logged
ec8or
Guest
« Reply #3 on: 27 Sep '06 - 11:10 »
Reply with quoteQuote

Thanks Ian! Smiley
Logged
ec8or
Guest
« Reply #4 on: 27 Sep '06 - 11:15 »
Reply with quoteQuote

Oh, and while you're at it, what about COM? Is it supported?
Logged
Ian @ un4seen
Administrator
Posts: 16942


« Reply #5 on: 27 Sep '06 - 16:26 »
Reply with quoteQuote

Nope, I'm afraid not, but you can grab the title (and all the other info window texts) via DDE.
Logged
ec8or
Guest
« Reply #6 on: 28 Sep '06 - 10:47 »
Reply with quoteQuote

ok, thanks a lot for the help!
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.19 | SMF © 2013, Simple Machines