yehia Posted January 7, 2009 Share Posted January 7, 2009 im trying to get the msg recived on MSN or windows live messenger in a msg box when its received im failing heavily in doing this and this is how its done according to MSDNhttp://msdn.microsoft.com/en-us/library/aa751066.aspxcan anyone help me please My Scripts:IE New UDFsElastic images moving under mouse (with a happy valentine's example)_FileRemoveLine Link to comment Share on other sites More sharing options...
BrettF Posted January 8, 2009 Share Posted January 8, 2009 This event fires when an instant message is received from the remote application. The event is labeled "restricted" because it is only available if the application has either the ReplaceIM or ReceiveIM permission flag. For more information, see Standard vs. Advanced Applications.Read that and post your attempts.Cheers,Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
yehia Posted January 8, 2009 Author Share Posted January 8, 2009 thanks BrettF but im trying this for about 8 days now and im still failing i searched too many times and thats what i got func _msngetchattext($win) if not IsObj($win) then return 0 $his = $win.History return $his endfunc but its not working My Scripts:IE New UDFsElastic images moving under mouse (with a happy valentine's example)_FileRemoveLine Link to comment Share on other sites More sharing options...
BrettF Posted January 8, 2009 Share Posted January 8, 2009 Where do you create the object? It should be something like this: $oWin = ObjCreate("OBJ.NAME.HERE") If Not IsObj($oWin) Then MsgBox(0, "", "Object Not Created!") Exit EndIf MsgBox (0, "", _MsnGetChatText ($oWin)) Func _MsnGetChatText ($Win) If Not IsObj($Win) Then Return 0 Return $Win.History EndFunc ;==>_msngetchattext Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
yehia Posted January 8, 2009 Author Share Posted January 8, 2009 well thats what i have $oMessenger = ObjCreate("Messenger.UIAutomation.1") Func _MsnGetChatText ($oMessenger) If Not IsObj($oMessenger) Then Return 0 Return $oMessenger.History EndFunc but this but this event or property named History isnt working i tested it with the channel.im too but field again thanks for ur help again My Scripts:IE New UDFsElastic images moving under mouse (with a happy valentine's example)_FileRemoveLine Link to comment Share on other sites More sharing options...
BrettF Posted January 8, 2009 Share Posted January 8, 2009 You cannot. See the link in my second post. And then continue to read this: http://msdn.microsoft.com/en-us/library/aa751100.aspx Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
yehia Posted January 8, 2009 Author Share Posted January 8, 2009 what i got from that page that it can be done but with using the Permission Flags. do this means that there is no way to do it? if yes i guess there is still the MSAA option My Scripts:IE New UDFsElastic images moving under mouse (with a happy valentine's example)_FileRemoveLine Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now