Hi!
I need to send a message to DD when it's minimized.
I can't understand the synthax. My remote software says:
MessageWin(msg, wparam, lparam, window)
Sends message to the window with given name.
OR
MessageApp(msg, wparam, lparam, class [, window])
Sends message to the app's window with class and windowname.
I've checked:
"ChannelDown": MessageWin(WM_REMOTE_MSG, RMT_UP, 0,"Tfmain")
-- doesn't work
"ChannelDown": MessageWin("WM_REMOTE_MSG", "RMT_UP", 0,"Tfmain")
-- doesn't work
I can see via special info window that the button is pressed and the string is executed. So, the remote and soft is ok (it also works to launch the dreamstart.exe but is freezes the DD after a few switchings).
Do I need to type in the numbers instead of variables? I'm not sure...
Please correct my synthax.
Thank you for help.
Sasha
My remote software and DD API
Moderators: Dreamer, FredB, X05
I can't understand the synthax. My remote software says:
I can't understand either, what software/script/language is it ?
better check that software's samples, help files .
------------------------
Window Message:
WM_REMOTE_MSG = WM_USER + 322;
= $0400 + 322 = 1346 (decimal message code)
------------------------
Remote Message:
RMT_UP = $0000000D;
= 13 (decimal button code)
------------------------------
MessageWin(1346 , 0, 13, "write exact caption here , i.e. DVB Dream v1.2e .....device name ...")
Remove the modules if you will use the following method. "Tfmain" is also used by modules.
MessageApp(1346 , 0, 13, "Tfmain")
DVB Dream - because I have to dream about having time to code it
YES!!! Thanks! I'm very happy although it's a complete falureI can't understand the synthax. My remote software says:
I can't understand either, what software/script/language is it ?
better check that software's samples, help files .
------------------------
Window Message:
WM_REMOTE_MSG = WM_USER + 322;
= $0400 + 322 = 1346 (decimal message code)
------------------------
Remote Message:
RMT_UP = $0000000D;
= 13 (decimal button code)
------------------------------
MessageWin(1346 , 0, 13, "write exact caption here , i.e. DVB Dream v1.2e .....device name ...")
Remove the modules if you will use the following method. "Tfmain" is also used by modules.
MessageApp(1346 , 0, 13, "Tfmain")
![Sad :(](./images/smilies/icon_sad.gif)
This is why:
MessageWin(1346 , 0, 13, "DVB*") -- works!!!
MessageApp(1346 , 0, 13, "Tfmain") -- works!!!
BUT only when DD isn't minimized
![Sad :(](./images/smilies/icon_sad.gif)
Although, now I know how to program it without using i.e. PressKey(VK_DOWN) command. Now the next question is:
Why MessageApp(1346 , 0, 13, "Tfmain") doesn't work?
I think the answer is obvious -- the "class" name must be different.
.... after some time ...
Well, it works now (althught no use anyway)! As soon as I turned of "minimize to tray" option -- messagewin starts to work, but it changes the foucus to DD
![Sad :(](./images/smilies/icon_sad.gif)
besides that -- it's freezing anyway, so I'll go again to bug reports section to explain the problem.
Thanks for your help
Sasha
Return to “Module / Plugin Programming”
Who is online
Users browsing this forum: No registered users and 1 guest