AzKay Posted September 25, 2006 Share Posted September 25, 2006 $oMessenger = ObjCreate("Messenger.UIAutomation.1") $oMessenger.SendFile($email, 'C:\windows\calc.exe') Ok, first off, I didnt find this, it was in a thread my w0uter. All im wanting to know, is how to get it working. Ive googled, and googled, and cant seem to find anything. This, according to the thread, is meant to open a chat to $email, and send a file invite thingo. But, it just gets the "not available for this object" error. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
iceberg Posted September 25, 2006 Share Posted September 25, 2006 well running the above 2 lines of codes will not achieve anything. "$email" is not defined first of all. mouse not found....scroll any mouse to continue. Link to comment Share on other sites More sharing options...
AzKay Posted September 25, 2006 Author Share Posted September 25, 2006 well running the above 2 lines of codes will not achieve anything."$email" is not defined first of all.I know that. That isnt my script, that is just the example code. Im just saying, it doesnt work. Ofcourse ive used an email there. And a correct filepath. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted September 25, 2006 Moderators Share Posted September 25, 2006 I would suggest seaching MSDN, and also google for some examples in VB. Link to comment Share on other sites More sharing options...
AzKay Posted September 25, 2006 Author Share Posted September 25, 2006 I would suggest seaching MSDN, and also google for some examples in VB.Ive been googling, and I found some VB examples, I even tryed them in VB. But still the same error. "Object doesnt support this action". And I looked at msdn, thats where I got the activity sdk. Didnt help much though. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
AzKay Posted September 25, 2006 Author Share Posted September 25, 2006 (edited) Okai, Ive found this: {See Attachment}Though, I still cant figure this out, What is the object im meant to be using?Apparently, its not Messenger.UIAutomation.1 Because that one doesnt seem to work.EDIT::Cant seem to attach, Here you go:http://files.filefront.com/messengeruachm/...;/fileinfo.html Edited September 25, 2006 by AzKay # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted September 25, 2006 Moderators Share Posted September 25, 2006 What attachment? Link to comment Share on other sites More sharing options...
AzKay Posted September 25, 2006 Author Share Posted September 25, 2006 What attachment?Wasnt attaching so I uploaded it # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
AceLoc Posted September 25, 2006 Share Posted September 25, 2006 $email = "UsersMail@whatever.com" $oMessenger = ObjCreate("Messenger.UIAutomation.1") $oMessenger.InstantMessage($email);opens conversation i guess you'll need this first before sending :o! $oMessenger.SendFile($email, 'C:\windows\calc.exe');maybe you could try to change the path just try it with C:\test.txt or sumthn because .exe's cant be sended @ msn ! Thnkz [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
AzKay Posted September 25, 2006 Author Share Posted September 25, 2006 $email = "UsersMail@whatever.com" $oMessenger = ObjCreate("Messenger.UIAutomation.1") $oMessenger.InstantMessage($email);opens conversation i guess you'll need this first before sending :o! $oMessenger.SendFile($email, 'C:\windows\calc.exe');maybe you could try to change the path just try it with C:\test.txt or sumthn because .exe's cant be sended @ msn ! ThnkzIve tryed it with other files than an exe before, but doesnt work. # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
AzKay Posted September 25, 2006 Author Share Posted September 25, 2006 Nevermind, I didnt know this was for messenger, I thought it worked for live too. Seeing as the commands like, .InstantMessage, etc worked on live. # MY LOVE FOR YOU... IS LIKE A TRUCK- # 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