Great! Have not notice the win.SendMessagestr() earilier, what a shame. Thanks !
Xiao Peng 8/2/2009 On Sun, Aug 2, 2009 at 7:27 PM, brucexs <[email protected]> wrote: > > > --- In [email protected] <power-pro%40yahoogroups.com>, > "cronus1974" <peng.x...@...> wrote: > > > > Dear all: > > > > Is DLL plugin the only tool to play with pointer? > > > > I want to retrieve some text info from an application (In fact, the track > info from Jaangle player). The application provided the api, the info can be > accessed by > > SendMessage(targetHWND, WM_GETTEXT, (WPARAM)bufLen, (LPARAM)strbuf) > > local strbur = repeat(" ",255) // assuming 255 is max length out output > win.sendmessagestr(hwnd, 0x????, 255,strbuf) > where ???? is the hex code for wm_gettext which I have not looked up > > > [Non-text portions of this message have been removed]
