Problem with WinGetTitle
I write all my scripts in VBScript with references to AutoItX3.dll
My OS is Windows XP Professional 64 (mobo is Athlon X2 64 bits).
I use Hot Keyboard Pro to launch the VBScripts.
This is the problem:
I want to retrieve the title of the active window, so I write
Set ax = CreateObject("AutoItX3.Control")
Dim someVar
someVar = ax.WinGetTitle("")
MsgBox someVar
Now instead of the title of the current active window being displayed, the message is "Hot Keyboard Pro"
When i make 2 calls to MsgBox like in
someVar = ax.WinGetTitle("")
MsgBox someVar
MsgBox someVar
Now the first message is "Hot Keyboard Pro" and the second message is the title of the current active window.
Of course I don't want this "Hot Keyboard Pro". Any clues to how to solve this ?
VBScript launched w/ HOT KEYBOARD : WinGetTitle does not work
Started by
Liv
, Jul 28 2007 11:56 AM
2 replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users




