Code: Select all
MsgBox, % LocalC(127.0.0.1, "Admin", "1234")
Code: Select all
MsgBox, 4,, % LocalC(127.0.0.1, "Admin", "1234")
Code: Select all
MsgBox, % LocalC(127.0.0.1, "Admin", "1234")
Code: Select all
MsgBox, 4,, % LocalC(127.0.0.1, "Admin", "1234")
Code: Select all
MsgBox, 4, example, choose yes or no
IfMsgBox, Yes
MsgBox you chose Yes
else
MsgBox you chose No
Yes it works that way, but can you try adding a variable? My problem starts after adding variable.Xtra wrote: ↑29 Jun 2022, 11:27Code: Select all
MsgBox, 4, example, choose yes or no IfMsgBox, Yes MsgBox you chose Yes else MsgBox you chose No
Code: Select all
MsgBox, 4, example, % SubStr("xxxxxShow Thisxxxxx",6,9)
Code: Select all
LocalC("127.0.0.1", "Admin", "1234")
I think there is something wrong with LocalC Function I don't understand. I am sharing 2 different msgbox contents below. Strangely enough it doesn't read the variable.RussF wrote: ↑29 Jun 2022, 13:50This worked perfectly fine for me:
Could it be your LocalC() function?Code: Select all
MsgBox, 4, example, % SubStr("xxxxxShow Thisxxxxx",6,9)
Russ
I fixed it. I wish that was the only issue, thanks for the info though.gregster wrote: ↑29 Jun 2022, 13:53The IP 127.0.0.1 should be handled as a string, I imagine:Because in an expression, it probably doesn't mean anything: compare msgbox % 127.0.0.1Code: Select all
LocalC("127.0.0.1", "Admin", "1234")
I deleted the whole ahk files and after installing the 64 bit version the problem went away by itself. I still don't understand the connection between 64 bit installation and this problem. Anyway, thanks for your interest.