PDA

View Full Version : Converting legacy send message to new style



Mastiff
May 25th, 2005, 06:10 AM
Is this possible in any other way than manually? I have a ton of send message, much of it in Zoom Player, and I would really like to save myself a few hours...

birty
May 25th, 2005, 06:54 AM
you could define a new global function send message like this:


function SendMessage(param1,param2,param3,param4)
win.SendMessage(param1,param2,param3,param4);
end;

and set the script to run when girder starts

Mastiff
May 25th, 2005, 06:56 AM
But will that work on the old send message plug-in? That's just for Lua-sendmessages, right? Those I have covered with search/replace. I should have mentioned that I was talking about the old plug-in.

birty
May 25th, 2005, 07:33 AM
nope, i think you may have to do those manually

Mastiff
May 25th, 2005, 08:02 AM
That's what I feared... Anybody here with a G4 GML for Zoom Player? :roll:

Rob H
May 25th, 2005, 08:54 AM
Well, I just imported the old zplayer.gml and it seems to work okay in G4 - you just can't edit anything.

Mastiff
May 25th, 2005, 12:23 PM
Aha. OK. I just saw the empty spaces and thought that it wouldn't work. Thanks!

Ron
May 25th, 2005, 04:29 PM
indeed, legacy support is provided there.

Rob H
May 25th, 2005, 04:39 PM
It would be helpful if it provided details of the old parameters rather than just a blank page.

Mastiff
May 25th, 2005, 04:42 PM
Or even better: The ability to modify them.

Ron
May 25th, 2005, 04:46 PM
The way the old parameter is stored does not jive with the new DUI system, I can display it but that is about it.

unzip sendmessage.xml and drop it in [girder]\plugins\UI