Jump to content

Conversion Help


Recommended Posts

Hello.

I have tryed to convert this Visual Basic script into autoit, but I am so new to visual basic that i just cant.

If soemone could convert this code to autoit i would be very greatful!

Here is the VB Code:

Option Explicit
Public WithEvents msn As MsgrObject
Attribute msn.VB_VarHelpID = -1

Private Sub Form_Load()
Set msn = New MsgrObject
End Sub

Private Sub msn_OnTextReceived(ByVal pIMSession As Messenger.IMsgrIMSession, ByVal User As Messenger.IMsgrUser, ByVal bstrMsgHeader As String, ByVal bstrMsgText As String, pfEnableDefault As Boolean)
If bstrMsgText = "hi" Then
User.SendText bstrMsgHeader, "Hello", MMSGTYPE_ALL_RESULTS
End If
End Sub

Help appreicted VERY MUCH! I really need this converted and would be very greatful to the person who could do it!

Link to comment
Share on other sites

VBS2au3. I found this set of files in the forums a while ago. Download the attached. zip and unzip, read the .txt files and learn how to use it. It worked fairly well for me when I needed it. :D

Das Häschen benutzt Radar

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...