Hello Guys,
sorry i am new in Autoit and i am trying to use comparing two string. The frist sring i am copying a string from excel ("Test"), saving into $var with ClipGet() function. So, now i want to compare ClipGet value $var with "Test". It should be "Matched! ", but it doesn`t work. Why? I checked the variable with MsgBox and it is "Test".
Global $var
sleep(2000)
send("^c")
sleep(2000)
$var = ClipGet()
Switch $var
Case "Test"
MsgBox(64,"","Matched !")
Case Else
MsgBox(64,"","Didn't match..")
EndSwitch
Thanks for your help...