Jump to content
Sign in to follow this  

Windowless controls

Recommended Posts


i posted this in the the help and support forum but got no related replays on my topic so i reposted it here cos its more related to GUIs

well i was trying to make a script to get the text from msn chat window but found out that MSN is using a windowless control named "DirectUIHWND1" so this script totally failed:

While 1
    $b = ControlGetHandle("[CLASS:IMWindowClass]","","DirectUIHWND1")
    $a = GUICtrlRead($b,1)
    If $a <> "0" Then
    ;ControlSend("- Conversation", "", "DirectUIHWND1", $Gesprek&"{ENTER}{ESC}")

if there is any way to get the text in the chat window?

and since IE uses windowless controlls too can IE funcs be helpful in this case?

is there is anyway to get the handle of a windowless control ?

Share this post

Link to post
Share on other sites

ok i will ask my Q in another way

i found that the object that contains the chat msgs is named history how to construct this object cos im noob with objects

thats what i found in one MSN lib

func _msngetchattext($win)
if not IsObj($win) then return 0
$his = $win.History
return $his

and there is another way with active accessibility but i still cant find it

can anyone help me?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.