DeanoLaad
New Member
Posts: 2
Joined: Dec 2008
|
RE: [Request] Titlebar of App -> PSM
code: function test()
{
//were iGoogle is Chrome(bowser)'s homepage.
var wintitlelength = Interop.Call('user32', 'GetWindowTextLengthW', Interop.Call('user32', 'FindWindowW', 'iGoogle -', ''));
var wintitle = Interop.Allocate(wintitlelength);
Interop.Call('user32', 'GetWindowTextW', Interop.Call('user32', 'FindWindowW', 'iGoogle -', ''), wintitle, wintitlelength);
output = wintitlelength.ReadString(0, false);
return output;
}
Debug.Trace(test());
Were am i going wrong?..
This post was edited on 12-22-2008 at 09:41 PM by DeanoLaad.
|
|