[WT-support] New Lua APIs

Mario Lorenz ml-wt at vdazone.org
Wed Oct 7 23:08:34 CEST 2009


Hi,
Am 07. Oct 2009, um 12:44:41 schrieb Laurent HAAS - F6FVY:
> 
> The current nightly build (4.2.0-dev Revision 184 or better) includes 
> several new Lua APIs regarding radios and windows management.
> 
> Please find below the list of available APIs of this dvpt version. You 
> can also find a list of constants known by the interpreter to facilitate 
> script writing.
> 
[interesting long list following]

a) Could there be a :Send() for the winkey keyer? I would like to do configurations
not supported by the standard configure dialog...

b) Is there a list of events that can trigger Scripts ?
I am aware of being able to call scripts from CW messages, as commands and via keys.
I would also like to hook to events - new operators logging on, wintest starting up/shutting
down, network traffic comming in, state of the radio (mode, band, frequency) changes, or
generic timer events. (one could, for example, implement nag screens if provably
the operator neglected to even try to work a new multiplier for a certain time, as evidenced
by no radio QSYing to this frequency)

c) I am only just starting with Lua and its features. I read that I could in theory
load any C shared library with the package.* functions and call them, which might be
great (I have yet to learn how to build shared libraries on Windows), but is
this feature enabled, ie. if I learned how to do such a shared library on windows, could
I use it from within WinTest ?

Mario

-- 
Mario Lorenz                            Internet:    <ml at vdazone.org>
                                        Ham Radio:   DL5MLO at DB0ERF.#THR.DEU.EU
 "I hear that if you play the NT 4.0 CD backwards, you get a Satanic message!"
 "That's nothing. If you play it forward, it installs NT 4.0!"


More information about the Support mailing list