How to use arguments in script show on bar?
| Newsgroups | gmane.comp.windows.power-pro |
|---|---|
| Message-ID | <[email protected]> |
Hello,
1) My bar show information *info expr(.scriptFile@ambi_fullname) or *info expr(.scriptFile@ambi_address ) from the following script. It works, but I would like to shorten it using arguments. I have tried but there is an error.
function ambi_fullname()
com.error_dialog_off()
local AB = com.create_object("Broker.Application")
local Name = AB.ActiveDocument.Name
local st =AB.Stocks(Name)
quit(st.fullname)
quit
function ambi_address()
com.error_dialog_off()
local AB = com.create_object("Broker.Application")
local Name = AB.ActiveDocument.Name
local st =AB.Stocks(Name)
quit(st.address)
quit
2) Another question is that anyone have com plugin 0.72 version. I want to connect mysql through ODBC .
odbcplugin0.72 I have tried , it seem not work in windows 7.
thx in advance