Jump to content

Msn COM Stuff.


AzKay
 Share

Recommended Posts

$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

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

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

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 by AzKay
# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Link to comment
Share on other sites

$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

$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

Ive 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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...