Sign in to follow this  
Followers 0
spyrorocks

Conversion Help

3 posts in this topic

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!

Share this post


Link to post
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

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  
Followers 0