Anyone know a way to make HMA Pro work with imacros?
Yes it could be made, since the HMA has option for sending "-changeip" through command prompt, it can be done. Then a piece of code is needed to check whether is the old ip, original pc ip or the new ip obtained , if all that pass then go back to work. That's the pretty basic logic.
Wow this is great info, but if you can explain better that will be double great. Why because when ever I install HMA I can see something happening in command prompt but not sure how we manually change ip using CMD prompt
'This is vb.net but I am assuming it's nearly the same, function for sending change ip command
Public Sub sendIpChangingCommand()
Dim CMD As New Process
Dim SW As System.IO.StreamWriter
Dim SR As System.IO.StreamReader
CMD.StartInfo.FileName = "cmd"
CMD.StartInfo.UseShellExecute = False
CMD.StartInfo.RedirectStandardInput = True
CMD.StartInfo.RedirectStandardOutput = True
CMD.StartInfo.CreateNoWindow = True
CMD.Start()
SW = CMD.StandardInput
SR = CMD.StandardOutput
SW.WriteLine("""" + "C:\Program Files (x86)\HMA! Pro VPN\bin" + """" + " -changeip")
CMD.Dispose()
SW.Dispose()
Do Until SR.EndOfStream = True
Application.DoEvents()
Dim pom As String = SR.ReadLine
Loop
SR.Dispose()
End Sub