Author Topic: 88 not working in Command List  (Read 771 times)

Folinos

  • Posts: 46
88 not working in Command List
« on: 29 Jul '24 - 10:21 »
with WM_USER
88 = Current track - Tray title bubble
not work
87 = Current track - Plugin info
instead work.
Why?

Ian @ un4seen

  • Administrator
  • Posts: 26177
Re: 88 not working in Command List
« Reply #1 on: 31 Jul '24 - 17:26 »
The "Current track - Tray title bubble" shortcut currently only applies when XMPlay is minimized to the tray or the vis display is fullscreen. Is your shortcut not working even then?

Folinos

  • Posts: 46
Re: 88 not working in Command List
« Reply #2 on: 31 Jul '24 - 17:27 »
I tryed when XMPlay is minimized and not work.

Ian @ un4seen

  • Administrator
  • Posts: 26177
Re: 88 not working in Command List
« Reply #3 on: 31 Jul '24 - 18:00 »
Is it minimized to the tray, not the taskbar? XMPlay may also need to be playing, so please try that too (if you haven't already).

Folinos

  • Posts: 46
Re: 88 not working in Command List
« Reply #4 on: 31 Jul '24 - 18:11 »
XMPlay  is it minimized to the tray, not the taskbar, and also is playing.
Do it work for you?

Ian @ un4seen

  • Administrator
  • Posts: 26177
Re: 88 not working in Command List
« Reply #5 on: 31 Jul '24 - 18:16 »
Yes, it seems to be working here. One thing I forgot to mention is that the shortcut should be set global, so that it also applies when XMPlay doesn't have focus (which it's unlikely to when minimized). Also make sure you don't keep the Shortcuts options page open, as global shortcuts are disabled while it's open (to prevent interference when setting new shortcuts).

Folinos

  • Posts: 46
Re: 88 not working in Command List
« Reply #6 on: 31 Jul '24 - 20:22 »
I not know what you mean for shortcut.
I use
SendMessage("[CLASS:XMPLAY-MAIN]", 0x0400, 88, 122);// or 121
or
SendMessage("[CLASS:XMPLAY-MAIN]", 1050, 88, 0);

Ian @ un4seen

  • Administrator
  • Posts: 26177
Re: 88 not working in Command List
« Reply #7 on: 1 Aug '24 - 12:16 »
Ah yes, I forgot that you were using a Windows message instead of a shortcut key. The message to send is 0x41a (1050), so your 2nd SendMessage call is correct (the 1st one isn't), assuming the window handle is correct.

Ultimately, the Windows message and shortcut key methods run the same code (the Windows message triggers a shortcut key action), so if one works then so should the other. If the message still isn't working for you then please try setting a global shortcut and see if that works.

Folinos

  • Posts: 46
Re: 88 not working in Command List
« Reply #8 on: 23 Aug '24 - 22:16 »
The message still isn't working for me.
Setting a global shortcut also not works.
Do it work for you?

Ian @ un4seen

  • Administrator
  • Posts: 26177
Re: 88 not working in Command List
« Reply #9 on: 26 Aug '24 - 15:40 »
Yes, it does seem to be working here. Note that XMPlay needs to be minimized to the tray (or in fullscreen vis) and playing/paused for a title bubble to be shown. Is it still not working for you even then?

Folinos

  • Posts: 46
Re: 88 not working in Command List
« Reply #10 on: 26 Aug '24 - 16:01 »
$w=WinGetHandle("[CLASS:XMPLAY-MAIN]")
_Message($w, 1050, 88, 0)
minimized to the tray and playing or paused
not work.

Ian @ un4seen

  • Administrator
  • Posts: 26177
Re: 88 not working in Command List
« Reply #11 on: 27 Aug '24 - 17:43 »
Is a global "Current track - Tray title bubble" shortcut not working either? Make sure the "Shortcuts" options page isn't open at the time. Please also try with the vis window fullscreen. If that works, try minimizing all other windows too when minimizing XMPlay to tray, in case the title bubbles were being covered by other windows (the bubbles should always be on top but perhaps aren't for some reason there).

Folinos

  • Posts: 46
Re: 88 not working in Command List
« Reply #12 on: 27 Aug '24 - 18:04 »
I did all the tests but none works.
Do you use also Win11?

It work only "Track Info" (not bubble) when in fullscreen.

Ian @ un4seen

  • Administrator
  • Posts: 26177
Re: 88 not working in Command List
« Reply #13 on: 28 Aug '24 - 14:34 »
I tried on Win10 and Win11, and both are working.

Do you happen to have disabled "Tray title bubbles" in the "Titles" options page? That needs to be enabled for this. If that isn't the issue, are info bubbles working at all there, eg. when you adjust the volume or hover over a control?

Folinos

  • Posts: 46
Re: 88 not working in Command List
« Reply #14 on: 28 Aug '24 - 15:54 »
You have hit the problem.
Enabling this option it work fine.
Ty!

Ian @ un4seen

  • Administrator
  • Posts: 26177
Re: 88 not working in Command List
« Reply #15 on: 29 Aug '24 - 17:33 »
Good to hear that was it. I should have thought of that possibility earlier really.